Skip to content

Commit

Permalink
Set NavigationBarScreen as default option for component app
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Agarwal committed Jul 17, 2024
1 parent 3151ca2 commit 1b5d124
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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),
Expand Down

0 comments on commit 1b5d124

Please sign in to comment.