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)