Do not ask for permissions if not needed
This commit is contained in:
parent
905d60a495
commit
be5bba9cc3
@ -18,6 +18,7 @@ import org.unifiedpush.distributor.nextpush.R
|
||||
fun PermissionsUi(onDone: () -> Unit = {}) {
|
||||
if (Build.VERSION.SDK_INT < 33) {
|
||||
onDone()
|
||||
return
|
||||
}
|
||||
val notificationsPermissionState =
|
||||
rememberPermissionState(
|
||||
|
Loading…
x
Reference in New Issue
Block a user