File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ class SlotViewModel(
496496 }
497497
498498 @Suppress(" FunctionName" )
499- private suspend fun _flashAk3 (context : Context ) {
499+ private suspend fun _flashAk3 (context : Context , slotSuffix : String ) {
500500 if (! isActive) {
501501 resetSlot()
502502 }
@@ -534,15 +534,15 @@ class SlotViewModel(
534534 launch {
535535 _clearFlash ()
536536 _copyFile (context, currentBackup, filename)
537- _flashAk3 (context)
537+ _flashAk3 (context,slotSuffix )
538538 }
539539 }
540540
541541 fun flashAk3 (context : Context , uri : Uri ) {
542542 launch {
543543 _clearFlash ()
544544 _copyFile (context, uri)
545- _flashAk3 (context)
545+ _flashAk3 (context, slotSuffix )
546546 }
547547 }
548548
You can’t perform that action at this time.
0 commit comments