Rename Event for clarity
This commit is contained in:
parent
a43e82e2ff
commit
676b2cc66b
9 changed files with 13 additions and 13 deletions
|
|
@ -29,7 +29,7 @@ class FakePermissionsPresenter(
|
|||
|
||||
private fun eventSink(events: PermissionsEvents) {
|
||||
when (events) {
|
||||
PermissionsEvents.OpenSystemDialog -> state.value = state.value.copy(showDialog = true, permissionAlreadyAsked = true)
|
||||
PermissionsEvents.AskPermissionToUser -> state.value = state.value.copy(showDialog = true, permissionAlreadyAsked = true)
|
||||
PermissionsEvents.CloseDialog -> state.value = state.value.copy(showDialog = false)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue