mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 03:12:15 +00:00
Fix: Batch update when auto-update is disabled
This commit is contained in:
parent
1fe09ccc2a
commit
6f7195047d
@ -427,7 +427,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
|||||||
* @see SyncService.displayUpdatesNotification
|
* @see SyncService.displayUpdatesNotification
|
||||||
*/
|
*/
|
||||||
private fun batchUpdate(productItems: List<ProductItem>, install: Boolean = false) {
|
private fun batchUpdate(productItems: List<ProductItem>, install: Boolean = false) {
|
||||||
if (Preferences[Preferences.Key.InstallAfterSync]) scope.launch {
|
scope.launch {
|
||||||
// run startUpdate on every item
|
// run startUpdate on every item
|
||||||
productItems.map { productItem ->
|
productItems.map { productItem ->
|
||||||
Triple(
|
Triple(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user