mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Fix wrong guests access option status
Before this change after enabling and disabling the guest access option, the option stays enabled. Resolves: #2378 Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
51d4b54aa4
commit
05cfb97459
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ class GuestAccessHelper(
|
|||
if (conversation.hasPassword) {
|
||||
guestAccessPasswordSwitch.isChecked = true
|
||||
}
|
||||
} else {
|
||||
guestAccessAllowSwitch.isChecked = false
|
||||
}
|
||||
|
||||
binding.guestAccessView.guestAccessAllowSwitch.setOnClickListener {
|
||||
|
|
Loading…
Reference in a new issue