mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
bf3ed0ed42
commit
be9bda7f04
@ -621,7 +621,11 @@ class CallActivity : CallBaseActivity() {
|
||||
}
|
||||
|
||||
@SuppressLint("ClickableViewAccessibility")
|
||||
private fun initClickListeners(isModerator:Boolean, isOneToOneConversation:Boolean, isGroupConversation:Boolean) {
|
||||
private fun initClickListeners(
|
||||
isModerator: Boolean,
|
||||
isOneToOneConversation: Boolean,
|
||||
isGroupConversation: Boolean
|
||||
) {
|
||||
binding!!.pictureInPictureButton.setOnClickListener { enterPipMode() }
|
||||
|
||||
binding!!.audioOutputButton.setOnClickListener {
|
||||
@ -698,7 +702,6 @@ class CallActivity : CallBaseActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
binding!!.popupMenu.setOnClickListener {
|
||||
hangup(true, true)
|
||||
binding!!.popupMenu.visibility = View.GONE
|
||||
@ -741,7 +744,6 @@ class CallActivity : CallBaseActivity() {
|
||||
|
||||
private fun showPopupMenu() {
|
||||
binding!!.popupMenu.visibility = View.VISIBLE
|
||||
|
||||
}
|
||||
|
||||
private fun createCameraEnumerator() {
|
||||
@ -1377,11 +1379,8 @@ class CallActivity : CallBaseActivity() {
|
||||
}
|
||||
|
||||
override fun dispatchTouchEvent(event: MotionEvent): Boolean {
|
||||
|
||||
if (binding!!.popupMenu.visibility == View.VISIBLE) {
|
||||
|
||||
if (event.action == MotionEvent.ACTION_DOWN) {
|
||||
|
||||
val buttonLocation = IntArray(2)
|
||||
binding!!.popupMenu.getLocationOnScreen(buttonLocation)
|
||||
|
||||
@ -1403,7 +1402,6 @@ class CallActivity : CallBaseActivity() {
|
||||
return super.dispatchTouchEvent(event)
|
||||
}
|
||||
|
||||
|
||||
fun clickRaiseOrLowerHandButton() {
|
||||
raiseHandViewModel!!.clickHandButton()
|
||||
}
|
||||
|
@ -67,5 +67,4 @@ object ConversationUtils {
|
||||
return currentConversation != null &&
|
||||
currentConversation.type == ConversationEnums.ConversationType.NOTE_TO_SELF
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -310,7 +310,7 @@ How to translate with transifex:
|
||||
<string name="lower_hand">Lower hand</string>
|
||||
<string name="restrict_join_other_room_while_call">It\'s not possible to join other rooms while being in a call</string>
|
||||
<string name="call_running_since_one_hour">The call has been running for one hour.</string>
|
||||
<string name="end_call_for_everyone">End Call for Everyone</string>
|
||||
<string name="end_call_for_everyone">End Call for everyone</string>
|
||||
|
||||
<!-- Picture in Picture -->
|
||||
<string name="nc_pip_microphone_mute">Mute microphone</string>
|
||||
|
Loading…
Reference in New Issue
Block a user