mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Add more state for more previews.
This commit is contained in:
committed by
Benoit Marty
parent
9e00c60649
commit
7976ca2dbf
+2
-1
@@ -23,7 +23,8 @@ open class PermissionsViewStateProvider : PreviewParameterProvider<PermissionsSt
|
|||||||
override val values: Sequence<PermissionsState>
|
override val values: Sequence<PermissionsState>
|
||||||
get() = sequenceOf(
|
get() = sequenceOf(
|
||||||
aPermissionsState(),
|
aPermissionsState(),
|
||||||
// Add other state here
|
aPermissionsState().copy(shouldShowRationale = true),
|
||||||
|
aPermissionsState().copy(permissionAlreadyDenied = true),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user