mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
feat(security&privacy) : add more previews
This commit is contained in:
+9
@@ -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
|
||||||
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user