File tree Expand file tree Collapse file tree
app/src/main/java/app/revanced/manager/ui/component/morphe/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import androidx.lifecycle.compose.collectAsStateWithLifecycle
1515import app.morphe.manager.R
1616import app.revanced.manager.domain.manager.AppType
1717import app.revanced.manager.domain.manager.PatchOptionsPreferencesManager
18+ import app.revanced.manager.domain.repository.PatchBundleRepository
1819import app.revanced.manager.ui.component.morphe.shared.IconTextRow
1920import app.revanced.manager.ui.component.morphe.shared.MorpheCard
2021import app.revanced.manager.ui.viewmodel.DashboardViewModel
@@ -51,7 +52,7 @@ fun PatchOptionsSection(
5152
5253 // Track bundle update progress to show loading state
5354 val bundleUpdateProgress by dashboardViewModel.patchBundleRepository.bundleUpdateProgress.collectAsStateWithLifecycle(null )
54- val isBundleUpdating = bundleUpdateProgress != null && bundleUpdateProgress!! .result == null
55+ val isBundleUpdating = bundleUpdateProgress != null && bundleUpdateProgress!! .result == PatchBundleRepository . BundleUpdateResult . None
5556
5657 // Collect bundle info to detect changes
5758 val bundleInfo by dashboardViewModel.patchBundleRepository.bundleInfoFlow.collectAsStateWithLifecycle(emptyMap())
You can’t perform that action at this time.
0 commit comments