mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-24 03:16:00 +00:00
simplify code of get file with MutableStateFlow
This commit is contained in:
@@ -38,7 +38,7 @@ fun PermissionPicker(navCtrl: NavHostController){
|
||||
.fillMaxWidth()
|
||||
.clickable{
|
||||
selectedPermission = it.first
|
||||
applySelectedPermission = true
|
||||
applySelectedPermission.value = true
|
||||
navCtrl.navigateUp()
|
||||
}
|
||||
.padding(vertical = 6.dp, horizontal = 8.dp)
|
||||
|
||||
Reference in New Issue
Block a user