Fix: Showing updates notification on sync

This commit is contained in:
machiav3lli 2022-05-13 01:24:16 +02:00
parent 8445ead1cc
commit 1ef1c8a15c

View File

@ -411,7 +411,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
if (Preferences[Preferences.Key.InstallAfterSync]) if (Preferences[Preferences.Key.InstallAfterSync])
batchUpdate(result) batchUpdate(result)
if (hasUpdates && Preferences[Preferences.Key.UpdateNotify] && if (hasUpdates && Preferences[Preferences.Key.UpdateNotify] &&
updateNotificationBlockerFragment?.get()?.isAdded == true updateNotificationBlockerFragment?.get()?.isAdded != true
) )
displayUpdatesNotification(result) displayUpdatesNotification(result)
} }