Move open system setting to the PermissionsPresenter
This commit is contained in:
parent
2610fa8258
commit
ffcac2a0da
14 changed files with 139 additions and 31 deletions
|
|
@ -31,6 +31,7 @@ class FakePermissionsPresenter(
|
|||
when (events) {
|
||||
PermissionsEvents.AskPermissionToUser -> state.value = state.value.copy(showDialog = true, permissionAlreadyAsked = true)
|
||||
PermissionsEvents.CloseDialog -> state.value = state.value.copy(showDialog = false)
|
||||
PermissionsEvents.OpenSystemSettingAndCloseDialog -> state.value = state.value.copy(showDialog = false)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue