We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a81453f commit 2032a2aCopy full SHA for 2032a2a
app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt
@@ -71,8 +71,7 @@ class SlotViewModel(
71
val flashOutput: List<String>
72
get() = _flashOutput
73
val uiPrintedOutput: List<String>
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) }
+ get() = _flashOutput.filter { it.startsWith("ui_print") }.map { it.substringAfter("ui_print").trim() }.filter { it.isNotEmpty() || it == "" }
76
val wasFlashSuccess: Boolean?
77
get() = _wasFlashSuccess.value
78
val backupPartitions: MutableMap<String, Boolean>
0 commit comments