Skip to content

Commit d1a22f9

Browse files
committed
Enable Both slot Flash options (Add Inactive slot flash warning) : Try 6
1 parent c01176a commit d1a22f9

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,8 @@ class SlotViewModel(
524524
throw e
525525
} finally {
526526
uiPrint("")
527-
if (wasSlotReset) {
527+
uiPrint("Test")
528+
if (wasSlotReset && _wasFlashSuccess.value) {
528529
uiPrint("You have flashed AnyKernel zip to an Inactive Slot!")
529530
uiPrint("But the active slot will not be changed!")
530531
uiPrint("Change it manually using bootctl or Reboot from System OTA Updater if you have applied an update.")

0 commit comments

Comments
 (0)