ktlintFormat

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2024-11-14 09:28:48 +01:00 committed by Marcel Hibbe
parent 03c4402630
commit 3de36ebec3
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B
2 changed files with 3 additions and 3 deletions

View file

@ -104,7 +104,7 @@ class GuestAccessHelper(
}
}
private fun passwordObserver() {
private fun passwordObserver() {
viewModel.passwordViewState.observe(lifecycleOwner) { uiState ->
when (uiState) {
is ConversationInfoViewModel.PasswordUiState.Success -> {

View file

@ -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)