diff --git a/app/src/main/java/org/andbootmgr/app/CreatePartFlow.kt b/app/src/main/java/org/andbootmgr/app/CreatePartFlow.kt index 4a5011d4..08f71a0f 100644 --- a/app/src/main/java/org/andbootmgr/app/CreatePartFlow.kt +++ b/app/src/main/java/org/andbootmgr/app/CreatePartFlow.kt @@ -99,7 +99,7 @@ class CreatePartFlow(private val desiredStartSector: Long?): WizardFlow() { private class CreatePartDataHolder(val vm: WizardState, val desiredStartSector: Long?) { var meta by mutableStateOf(null) // metaonsd only lateinit var p: SDUtils.Partition.FreeSpace // metaonsd only - var freeSpace: Long? = null // !metaonsd only + var freeSpace by mutableLongStateOf(null) // !metaonsd only var startSectorRelative = 0L // metaonsd only var endSectorRelative = 0L // metaonsd only var desiredSize = 0L // !metaonsd only @@ -947,4 +947,4 @@ private fun Flash(c: CreatePartDataHolder) { } } } -} \ No newline at end of file +}