File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class SlotViewModel(
71
71
val flashOutput: List <String >
72
72
get() = _flashOutput
73
73
val uiPrintedOutput: List <String >
74
- get() = _flashOutput .filter { it.startsWith(" ui_print" ) }.map { it.substringAfter(" ui_print" ).trim() }.filter { it.isNotEmpty() }
74
+ get() = _flashOutput .filter { it.startsWith(" ui_print" ) }.map { it.substringAfter(" ui_print" ).trim() }.filter { it.isNotEmpty() || it == " " }
75
75
val wasFlashSuccess: Boolean?
76
76
get() = _wasFlashSuccess .value
77
77
val backupPartitions: MutableMap <String , Boolean >
@@ -176,7 +176,7 @@ class SlotViewModel(
176
176
private fun uiPrint (message : String ) {
177
177
viewModelScope.launch(Dispatchers .Main ) {
178
178
_flashOutput .add(" ui_print $message " )
179
- _flashOutput .add(" ui_print" )
179
+ // _flashOutput.add("ui_print")
180
180
}
181
181
}
182
182
You can’t perform that action at this time.
0 commit comments