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 090ce44 commit a81453fCopy full SHA for a81453f
app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt
@@ -71,7 +71,8 @@ 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.substring("ui_print".length + 1) }
+ 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) }
76
val wasFlashSuccess: Boolean?
77
get() = _wasFlashSuccess.value
78
val backupPartitions: MutableMap<String, Boolean>
0 commit comments