Skip to content

Commit a81453f

Browse files
Enable Both slot Flash options (Add Inactive slot flash warning) : Try 11
1 parent 090ce44 commit a81453f

File tree

1 file changed

+2
-1
lines changed
  • app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot

1 file changed

+2
-1
lines changed

app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ class SlotViewModel(
7171
val flashOutput: List<String>
7272
get() = _flashOutput
7373
val uiPrintedOutput: List<String>
74-
get() = _flashOutput.filter { it.startsWith("ui_print") }.map{ it.substring("ui_print".length + 1) }
74+
get() = _flashOutput.filter { it.startsWith("ui_print") }.map { it.substringAfter("ui_print").trim() }
75+
//get() = _flashOutput.filter { it.startsWith("ui_print") }.map{ it.substring("ui_print".length + 1) }
7576
val wasFlashSuccess: Boolean?
7677
get() = _wasFlashSuccess.value
7778
val backupPartitions: MutableMap<String, Boolean>

0 commit comments

Comments
 (0)