소스 검색

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 {