change(security and privacy) : clean code
This commit is contained in:
parent
519b6c2887
commit
11bd9f5e88
1 changed files with 1 additions and 2 deletions
|
|
@ -75,12 +75,11 @@ class SecurityAndPrivacyPresenter(
|
|||
|
||||
val savedSettings by remember {
|
||||
derivedStateOf {
|
||||
val historyVisibility = roomInfo.historyVisibility.map()
|
||||
SecurityAndPrivacySettings(
|
||||
roomAccess = roomInfo.joinRule.map(),
|
||||
isEncrypted = roomInfo.isEncrypted == true,
|
||||
isVisibleInRoomDirectory = savedIsVisibleInRoomDirectory.value,
|
||||
historyVisibility = historyVisibility,
|
||||
historyVisibility = roomInfo.historyVisibility.map(),
|
||||
address = roomInfo.firstDisplayableAlias(homeserverName)?.value,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue