瀏覽代碼

Post updater notification before starting downloads

len 8 年之前
父節點
當前提交
d8fa7bc9d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt

@@ -276,10 +276,10 @@ class LibraryUpdateService : Service() {
                     if (newUpdates.isEmpty()) {
                         cancelNotification()
                     } else {
+                        showResultNotification(newUpdates, failedUpdates)
                         if (preferences.downloadNew()) {
                             DownloadService.start(this)
                         }
-                        showResultNotification(newUpdates, failedUpdates)
                     }
                 }
     }