diff options
author | Tim Krüger <t@timkrueger.me> | 2022-09-27 14:07:47 +0300 |
---|---|---|
committer | Tim Krüger <t@timkrueger.me> | 2022-09-27 14:07:47 +0300 |
commit | 05cfb974591ff95860ae2d0f8afacf27093d64f7 (patch) | |
tree | c5b4dfc9ce7b0cd5ac48a3e4845555ff4cdf9aff /app | |
parent | 51d4b54aa4478347d7071feee37d666c5ec4a377 (diff) |
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>
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/nextcloud/talk/conversation/info/GuestAccessHelper.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/com/nextcloud/talk/conversation/info/GuestAccessHelper.kt b/app/src/main/java/com/nextcloud/talk/conversation/info/GuestAccessHelper.kt index 4fd3a10b6..7e2dc5c17 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/info/GuestAccessHelper.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/info/GuestAccessHelper.kt @@ -58,6 +58,8 @@ class GuestAccessHelper( if (conversation.hasPassword) { guestAccessPasswordSwitch.isChecked = true } + } else { + guestAccessAllowSwitch.isChecked = false } binding.guestAccessView.guestAccessAllowSwitch.setOnClickListener { |