فهرست منبع

Merge pull request #2433 from nextcloud/allow-guest-option-is-enabled-when-guests-disallowed

Fix wrong guests access option status
Tim Krüger 2 سال پیش
والد
کامیت
033edaa262
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      app/src/main/java/com/nextcloud/talk/conversation/info/GuestAccessHelper.kt

+ 2 - 0
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 {