Skip to content

Commit

Permalink
logic fixes the first
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 committed Aug 20, 2024
1 parent 8ef3cff commit e896860
Show file tree
Hide file tree
Showing 8 changed files with 233 additions and 152 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/org/andbootmgr/app/CreatePartFlow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ private class CreatePartDataHolder(val vm: WizardActivityState): ProgressListene
fun lateInit() {
noobMode = LocalContext.current.getSharedPreferences("abm", 0).getBoolean("noob_mode", BuildConfig.DEFAULT_NOOB_MODE)
meta = SDUtils.generateMeta(vm.deviceInfo)
(meta?.s?.find { vm.activity.intent.getLongExtra("part_sid", -1L) == it.startSector } as SDUtils.Partition.FreeSpace?)?.also { p = it }
p = (meta?.s?.find { vm.mvm.wizardCompatSid == it.startSector } as SDUtils.Partition.FreeSpace?)!!
}

fun painterFromRtype(type: String): @Composable () -> Painter {
Expand Down
Loading

0 comments on commit e896860

Please sign in to comment.