Changes fdroid push registration to re-register even if the saved distributor was already selected.
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ object PushNotificationUtils {
|
|||||||
private val pushHandler = PushDistributorHandler
|
private val pushHandler = PushDistributorHandler
|
||||||
|
|
||||||
suspend fun init(accounts: List<AccountInfo>) {
|
suspend fun init(accounts: List<AccountInfo>) {
|
||||||
if (hasInit || pushHandler.savedDistributorExists()) {
|
if (hasInit) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user