Add more state for more previews.
This commit is contained in:
parent
9e00c60649
commit
7976ca2dbf
1 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ open class PermissionsViewStateProvider : PreviewParameterProvider<PermissionsSt
|
|||
override val values: Sequence<PermissionsState>
|
||||
get() = sequenceOf(
|
||||
aPermissionsState(),
|
||||
// Add other state here
|
||||
aPermissionsState().copy(shouldShowRationale = true),
|
||||
aPermissionsState().copy(permissionAlreadyDenied = true),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue