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(
7171 val flashOutput: List <String >
7272 get() = _flashOutput
7373 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 == " " }
7575 val wasFlashSuccess: Boolean?
7676 get() = _wasFlashSuccess .value
7777 val backupPartitions: MutableMap <String , Boolean >
@@ -176,7 +176,7 @@ class SlotViewModel(
176176 private fun uiPrint (message : String ) {
177177 viewModelScope.launch(Dispatchers .Main ) {
178178 _flashOutput .add(" ui_print $message " )
179- _flashOutput .add(" ui_print" )
179+ // _flashOutput.add("ui_print")
180180 }
181181 }
182182
You can’t perform that action at this time.
0 commit comments