From e3613cda74d9cffe59a45a30af62f06be5e9688f Mon Sep 17 00:00:00 2001 From: Velord Date: Tue, 23 Dec 2025 11:48:20 +0200 Subject: [PATCH 1/2] Release: 1.2.0 --- app/build.gradle.kts | 20 +++++++++---------- .../graph/BottomNavigationGraph.kt | 2 +- .../compose/destinations/graph/DemoGraph.kt | 1 + 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9111cd9..e74ee4c 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -15,7 +15,7 @@ plugins { // When app incompatible with previous version change this value val globalVersion = 1 // When you create huge feature(or many) release change this value -val majorVersion = 1 +val majorVersion = 2 // When you create feature release change this value val minorVersion = 0 // When you create fix change this value @@ -166,15 +166,15 @@ dependencies { // Other implementation(libs.androidx.glance.appwidget) // Test libs.versions.toml - implementation(libs.bundles.android.all) - implementation(libs.bundles.androidx.all) - implementation(libs.bundles.kotlin.all) - implementation(libs.bundles.compose.all) - implementation(libs.bundles.compose.thirdparty) - implementation(libs.bundles.logging) - implementation(libs.bundles.google.all) - implementation(libs.bundles.google.firebase) - implementation(platform(libs.google.firebase.bom)) +// implementation(libs.bundles.android.all) +// implementation(libs.bundles.androidx.all) +// implementation(libs.bundles.kotlin.all) +// implementation(libs.bundles.compose.all) +// implementation(libs.bundles.compose.thirdparty) +// implementation(libs.bundles.logging) +// implementation(libs.bundles.google.all) +// implementation(libs.bundles.google.firebase) +// implementation(platform(libs.google.firebase.bom)) } // Making “Optimised Out” Variables Visible in the IDE diff --git a/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/BottomNavigationGraph.kt b/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/BottomNavigationGraph.kt index 659e0b8..764a0d5 100644 --- a/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/BottomNavigationGraph.kt +++ b/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/BottomNavigationGraph.kt @@ -17,7 +17,7 @@ private const val BOTTOM_NAVIGATION_GRAPH = "bottom_navigation_graph" ) annotation class BottomNavigationGraph -@Destination(start = true) +@Destination @Destination @Composable internal fun SettingsDestination() { diff --git a/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/DemoGraph.kt b/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/DemoGraph.kt index 0d3a9bd..a41e799 100644 --- a/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/DemoGraph.kt +++ b/infrastructure/navigation/src/main/java/com/velord/navigation/compose/destinations/graph/DemoGraph.kt @@ -23,6 +23,7 @@ import org.koin.androidx.compose.koinViewModel private const val DEMO_GRAPH = "demo_graph" @NavGraph( + start = true, route = DEMO_GRAPH, visibility = CodeGenVisibility.INTERNAL ) From 41e315b5958cbe93dc2d5000d5f466aa92072da8 Mon Sep 17 00:00:00 2001 From: Velord Date: Fri, 26 Dec 2025 14:35:02 +0200 Subject: [PATCH 2/2] Fix: removeLast Java compatibility --- .../navigation/compose/nav3/navigator/BackStackNavigator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/navigation/src/main/java/com/velord/navigation/compose/nav3/navigator/BackStackNavigator.kt b/infrastructure/navigation/src/main/java/com/velord/navigation/compose/nav3/navigator/BackStackNavigator.kt index 0bf0194..89231e8 100644 --- a/infrastructure/navigation/src/main/java/com/velord/navigation/compose/nav3/navigator/BackStackNavigator.kt +++ b/infrastructure/navigation/src/main/java/com/velord/navigation/compose/nav3/navigator/BackStackNavigator.kt @@ -38,7 +38,7 @@ internal class BackStackNavigator(val state: NavigationState) { if (currentRoute == state.topLevelRoute) { state.topLevelRoute = state.startRoute } else { - currentStack.removeLast() + currentStack.removeLastOrNull() } } }