mirror of https://github.com/YTVanced/VancedMicroG
Little mistake :D
This commit is contained in:
parent
37efd0c9b8
commit
0f7f05239e
|
@ -72,7 +72,7 @@ private suspend fun ensureAppRegistrationAllowed(context: Context, database: Gcm
|
|||
if (!accepted) {
|
||||
throw RuntimeException("Push permission not granted to app")
|
||||
}
|
||||
} else if (app?.allowRegister) {
|
||||
} else if (app?.allowRegister == false) {
|
||||
throw RuntimeException("Push permission not granted to app")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue