mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Merge pull request #2433 from nextcloud/allow-guest-option-is-enabled-when-guests-disallowed
Fix wrong guests access option status
This commit is contained in:
commit
033edaa262
@ -58,6 +58,8 @@ class GuestAccessHelper(
|
|||||||
if (conversation.hasPassword) {
|
if (conversation.hasPassword) {
|
||||||
guestAccessPasswordSwitch.isChecked = true
|
guestAccessPasswordSwitch.isChecked = true
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
guestAccessAllowSwitch.isChecked = false
|
||||||
}
|
}
|
||||||
|
|
||||||
binding.guestAccessView.guestAccessAllowSwitch.setOnClickListener {
|
binding.guestAccessView.guestAccessAllowSwitch.setOnClickListener {
|
||||||
|
Loading…
Reference in New Issue
Block a user