xiongzhu 10 månader sedan
förälder
incheckning
8e88e6dc13
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      app/build.gradle
  2. 1 1
      app/src/main/java/com/example/modifier/service/TaskRunner.kt

+ 1 - 1
app/build.gradle

@@ -24,7 +24,7 @@ android {
         applicationId "com.example.modifier"
         minSdk 31
         targetSdk 34
-        versionCode 174
+        versionCode 175
         versionName "1.0.1"
         archivesBaseName = "${applicationId}-${versionCode}"
 

+ 1 - 1
app/src/main/java/com/example/modifier/service/TaskRunner.kt

@@ -272,7 +272,7 @@ class TaskRunner(
                 })
             }
 
-            while (tasks.isNotEmpty() && appStateRepo.appState.value.singleExecuted < taskConfig.singleQty) {
+            while (tasks.isNotEmpty() && appStateRepo.appState.value.singleSuccess < taskConfig.singleQty) {
                 val taskItem = tasks[0]
                 tasks.removeAt(0)
                 val result = TaskExecutionResult(