From 05cfb974591ff95860ae2d0f8afacf27093d64f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Kr=C3=BCger?= Date: Tue, 27 Sep 2022 13:07:47 +0200 Subject: [PATCH] Fix wrong guests access option status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this change after enabling and disabling the guest access option, the option stays enabled. Resolves: #2378 Signed-off-by: Tim Krüger --- .../com/nextcloud/talk/conversation/info/GuestAccessHelper.kt | 2 ++ 1 file changed, 2 insertions(+) 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 {