From 1b5d124c75fd56ab8d1fabe6815b0948bc462ace Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Wed, 17 Jul 2024 14:33:06 +0530 Subject: [PATCH] Set `NavigationBarScreen` as default option for component app --- common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt b/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt index 40c94cc73..a71e8c8ef 100644 --- a/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt +++ b/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt @@ -22,6 +22,7 @@ import org.hisp.dhis.common.screens.others.ChipsScreen import org.hisp.dhis.common.screens.others.IndicatorScreen import org.hisp.dhis.common.screens.others.LegendScreen import org.hisp.dhis.common.screens.others.MetadataAvatarScreen +import org.hisp.dhis.common.screens.others.NavigationBarScreen import org.hisp.dhis.common.screens.others.ProgressScreen import org.hisp.dhis.common.screens.others.SearchBarScreen import org.hisp.dhis.common.screens.others.SectionScreen @@ -45,7 +46,7 @@ fun App(imageBitmapLoader: (() -> ImageBitmap)? = null) { fun Main( imageBitmapLoader: (() -> ImageBitmap)?, ) { - val currentScreen = remember { mutableStateOf(Components.CARDS) } + val currentScreen = remember { mutableStateOf(Components.NAVIGATION_BAR) } Column( verticalArrangement = Arrangement.spacedBy(Spacing.Spacing16),