mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-22 19:02:12 +00:00
Fix the issue 0 New Updates Available
This commit is contained in:
parent
95f68f9b70
commit
eb47f3882f
@ -35,7 +35,6 @@ import io.reactivex.rxjava3.disposables.Disposable
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.cancel
|
||||
import kotlinx.coroutines.flow.MutableSharedFlow
|
||||
import kotlinx.coroutines.flow.SharedFlow
|
||||
@ -397,7 +396,8 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
||||
if (Preferences[Preferences.Key.InstallAfterSync])
|
||||
batchUpdate(result)
|
||||
if (hasUpdates && Preferences[Preferences.Key.UpdateNotify] &&
|
||||
updateNotificationBlockerFragment?.get()?.isAdded != true
|
||||
updateNotificationBlockerFragment?.get()?.isAdded != true &&
|
||||
result.isNotEmpty()
|
||||
)
|
||||
displayUpdatesNotification(result)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user