From 3de36ebec386429e71bff87ab239c95cabaf01aa Mon Sep 17 00:00:00 2001 From: sowjanyakch Date: Thu, 14 Nov 2024 09:28:48 +0100 Subject: [PATCH] ktlintFormat Signed-off-by: sowjanyakch --- .../com/nextcloud/talk/conversationinfo/GuestAccessHelper.kt | 2 +- .../conversationinfo/viewmodel/ConversationInfoViewModel.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfo/GuestAccessHelper.kt b/app/src/main/java/com/nextcloud/talk/conversationinfo/GuestAccessHelper.kt index 51ce20972..9174ea5d8 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfo/GuestAccessHelper.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfo/GuestAccessHelper.kt @@ -104,7 +104,7 @@ class GuestAccessHelper( } } - private fun passwordObserver() { + private fun passwordObserver() { viewModel.passwordViewState.observe(lifecycleOwner) { uiState -> when (uiState) { is ConversationInfoViewModel.PasswordUiState.Success -> { diff --git a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt index c281ba4c9..197402816 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationinfo/viewmodel/ConversationInfoViewModel.kt @@ -246,7 +246,7 @@ class ConversationInfoViewModel @Inject constructor( }) } - fun allowGuests(token: String, allow: Boolean) { + fun allowGuests(token: String, allow: Boolean) { viewModelScope.launch { try { val allowGuestsResult = conversationsRepository.allowGuests(token, allow) @@ -262,7 +262,7 @@ class ConversationInfoViewModel @Inject constructor( } @SuppressLint("SuspiciousIndentation") - fun setPassword(password: String, token: String) { + fun setPassword(password: String, token: String) { viewModelScope.launch { try { val setPasswordResult = conversationsRepository.setPassword(password, token)