Skip to content

Commit ff7c2f9

Browse files
committed
Enable Both slot Flash options (Add Inactive slot flash warning) : Try 14
1 parent d436429 commit ff7c2f9

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SlotViewModel(
7272
val flashOutput: List<String>
7373
get() = _flashOutput
7474
val uiPrintedOutput: List<String>
75-
get() = _flashOutput.filter { it.startsWith("ui_print") }.map { it.substringAfter("ui_print").trim() }.filter { it.isNotEmpty() }
75+
get() = _flashOutput.filter { it.startsWith("ui_print") }.map { it.substringAfter("ui_print").trim() }.filter { it.isNotEmpty() || it == "" }
7676
val wasFlashSuccess: Boolean?
7777
get() = _wasFlashSuccess.value
7878
val backupPartitions: MutableMap<String, Boolean>

0 commit comments

Comments
 (0)