From 3151ca2f031460e15ece117649769992e59695a2 Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Wed, 17 Jul 2024 14:32:39 +0530 Subject: [PATCH] Add `NavigationBar` screen to app components list --- common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt | 1 + .../commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt | 1 + 2 files changed, 2 insertions(+) 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 5d663b198..40c94cc73 100644 --- a/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt +++ b/common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt @@ -84,6 +84,7 @@ fun Main( Components.TOGGLEABLE_INPUTS -> ToggleableInputsScreen(imageBitmapLoader) Components.TAGS -> TagsScreen() Components.SEARCH_BAR -> SearchBarScreen() + Components.NAVIGATION_BAR -> NavigationBarScreen() Components.NO_COMPONENT_SELECTED -> NoComponentSelectedScreen() } } diff --git a/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt b/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt index bf8fb927b..ad9bdf3ee 100644 --- a/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt +++ b/common/src/commonMain/kotlin/org/hisp/dhis/common/screens/Components.kt @@ -17,5 +17,6 @@ enum class Components(val label: String) { METADATA_AVATAR("Metadata Avatar"), INDICATOR("Indicators"), PARAMETER_SELECTOR("Parameter selector"), + NAVIGATION_BAR("Navigation Bar"), NO_COMPONENT_SELECTED("No component selected"), }