Also hide encryption in room settings in simplified mode
Change-Id: I180d841cf3c62000d34b0642bfbf40eb1dd7037e
This commit is contained in:
parent
78766d7fc5
commit
4fb7ff6cf5
|
@ -136,7 +136,9 @@ class RoomSettingsController @Inject constructor(
|
|||
action = { if (data.actionPermissions.canChangeHistoryReadability) callback?.onHistoryVisibilityClicked() }
|
||||
)
|
||||
|
||||
buildEncryptionAction(data.actionPermissions, roomSummary)
|
||||
if (enableNonSimplifiedMode) {
|
||||
buildEncryptionAction(data.actionPermissions, roomSummary)
|
||||
}
|
||||
}
|
||||
|
||||
private fun buildEncryptionAction(actionPermissions: RoomSettingsViewState.ActionPermissions, roomSummary: RoomSummary) {
|
||||
|
|
Loading…
Reference in New Issue