feat(security&privacy) : add more previews
This commit is contained in:
parent
e6549d725c
commit
d4aed1ddbe
1 changed files with 9 additions and 0 deletions
|
|
@ -32,6 +32,12 @@ open class SecurityAndPrivacyStateProvider : PreviewParameterProvider<SecurityAn
|
||||||
roomAccess = SecurityAndPrivacyRoomAccess.SpaceMember
|
roomAccess = SecurityAndPrivacyRoomAccess.SpaceMember
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
aSecurityAndPrivacyState(
|
||||||
|
editedSettings = aSecurityAndPrivacySettings(
|
||||||
|
roomAccess = SecurityAndPrivacyRoomAccess.Anyone,
|
||||||
|
address = "#therapy:myserver.xyz"
|
||||||
|
)
|
||||||
|
),
|
||||||
aSecurityAndPrivacyState(
|
aSecurityAndPrivacyState(
|
||||||
editedSettings = aSecurityAndPrivacySettings(
|
editedSettings = aSecurityAndPrivacySettings(
|
||||||
isVisibleInRoomDirectory = AsyncData.Loading()
|
isVisibleInRoomDirectory = AsyncData.Loading()
|
||||||
|
|
@ -45,6 +51,9 @@ open class SecurityAndPrivacyStateProvider : PreviewParameterProvider<SecurityAn
|
||||||
aSecurityAndPrivacyState(
|
aSecurityAndPrivacyState(
|
||||||
showEncryptionConfirmation = true
|
showEncryptionConfirmation = true
|
||||||
),
|
),
|
||||||
|
aSecurityAndPrivacyState(
|
||||||
|
saveAction = AsyncAction.Loading
|
||||||
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue