Changes fdroid push registration to re-register even if the saved distributor was already selected.

This commit is contained in:
Vitor Pamplona
2024-08-19 17:58:50 -04:00
parent 4023261400
commit 1183aa8d11
@@ -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 {