mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 12:35:30 +03:00
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
03c4402630
commit
3de36ebec3
2 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ class GuestAccessHelper(
|
|||
}
|
||||
}
|
||||
|
||||
private fun passwordObserver() {
|
||||
private fun passwordObserver() {
|
||||
viewModel.passwordViewState.observe(lifecycleOwner) { uiState ->
|
||||
when (uiState) {
|
||||
is ConversationInfoViewModel.PasswordUiState.Success -> {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue