Add more state for more previews.
This commit is contained in:
parent
68fb2bd2eb
commit
5fc7870e47
1 changed files with 2 additions and 1 deletions
|
|
@ -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),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue