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(
496
496
}
497
497
498
498
@Suppress(" FunctionName" )
499
- private suspend fun _flashAk3 (context : Context ) {
499
+ private suspend fun _flashAk3 (context : Context , slotSuffix : String ) {
500
500
if (! isActive) {
501
501
resetSlot()
502
502
}
@@ -534,15 +534,15 @@ class SlotViewModel(
534
534
launch {
535
535
_clearFlash ()
536
536
_copyFile (context, currentBackup, filename)
537
- _flashAk3 (context)
537
+ _flashAk3 (context,slotSuffix )
538
538
}
539
539
}
540
540
541
541
fun flashAk3 (context : Context , uri : Uri ) {
542
542
launch {
543
543
_clearFlash ()
544
544
_copyFile (context, uri)
545
- _flashAk3 (context)
545
+ _flashAk3 (context, slotSuffix )
546
546
}
547
547
}
548
548
You can’t perform that action at this time.
0 commit comments