mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 03:12:15 +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 io.reactivex.rxjava3.schedulers.Schedulers
|
||||||
import kotlinx.coroutines.CoroutineScope
|
import kotlinx.coroutines.CoroutineScope
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.GlobalScope
|
|
||||||
import kotlinx.coroutines.cancel
|
import kotlinx.coroutines.cancel
|
||||||
import kotlinx.coroutines.flow.MutableSharedFlow
|
import kotlinx.coroutines.flow.MutableSharedFlow
|
||||||
import kotlinx.coroutines.flow.SharedFlow
|
import kotlinx.coroutines.flow.SharedFlow
|
||||||
@ -397,7 +396,8 @@ 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 &&
|
||||||
|
result.isNotEmpty()
|
||||||
)
|
)
|
||||||
displayUpdatesNotification(result)
|
displayUpdatesNotification(result)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user