From de637871a6f31eea8e238a5abd7f1d67cecc66db Mon Sep 17 00:00:00 2001 From: sowjanyakch Date: Tue, 29 Oct 2024 15:34:01 +0100 Subject: [PATCH] ktlintFormat Signed-off-by: sowjanyakch --- .../main/java/com/nextcloud/talk/activities/CallActivity.kt | 2 +- .../talk/callnotification/CallNotificationActivity.kt | 4 ++-- .../main/java/com/nextcloud/talk/jobs/NotificationWorker.kt | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt index 89adeea92..1ae1a141c 100644 --- a/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/activities/CallActivity.kt @@ -682,7 +682,7 @@ class CallActivity : CallBaseActivity() { binding!!.hangupButton.setOnClickListener { showPopupMenu() } - }else{ + } else { if (isModerator) { binding!!.hangupButton.setOnLongClickListener { showPopupMenu() diff --git a/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt b/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt index ca3844058..625cfd082 100644 --- a/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/callnotification/CallNotificationActivity.kt @@ -176,7 +176,7 @@ class CallNotificationActivity : CallBaseActivity() { binding!!.callAnswerVoiceOnlyView.setOnClickListener { Log.d(TAG, "accept call (voice only)") intent.putExtra(KEY_CALL_VOICE_ONLY, true) - intent.putExtra(KEY_ROOM_ONE_TO_ONE,isOneToOneCall) + intent.putExtra(KEY_ROOM_ONE_TO_ONE, isOneToOneCall) proceedToCall() } binding!!.callAnswerCameraView.setOnClickListener { @@ -194,7 +194,7 @@ class CallNotificationActivity : CallBaseActivity() { private fun proceedToCall() { val callIntent = Intent(this, CallActivity::class.java) - intent.putExtra(KEY_ROOM_ONE_TO_ONE,isOneToOneCall) + intent.putExtra(KEY_ROOM_ONE_TO_ONE, isOneToOneCall) callIntent.putExtras(intent.extras!!) startActivity(callIntent) } diff --git a/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt b/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt index dfc7328dd..ac0fe43db 100644 --- a/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt +++ b/app/src/main/java/com/nextcloud/talk/jobs/NotificationWorker.kt @@ -220,7 +220,6 @@ class NotificationWorker(context: Context, workerParams: WorkerParameters) : Wor } } - private fun handleCallPushMessage() { val userBeingCalled = userManager.getUserWithId(signatureVerification.user!!.id!!).blockingGet()