Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private const val BOTTOM_NAVIGATION_GRAPH = "bottom_navigation_graph"
)
annotation class BottomNavigationGraph

@Destination<BottomNavigationGraph>(start = true)
@Destination<BottomNavigationGraph>
@Destination<MainGraph>
@Composable
internal fun SettingsDestination() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import org.koin.androidx.compose.koinViewModel

private const val DEMO_GRAPH = "demo_graph"
@NavGraph<BottomNavigationGraph>(
start = true,
route = DEMO_GRAPH,
visibility = CodeGenVisibility.INTERNAL
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal class BackStackNavigator(val state: NavigationState) {
if (currentRoute == state.topLevelRoute) {
state.topLevelRoute = state.startRoute
} else {
currentStack.removeLast()
currentStack.removeLastOrNull()
}
}
}
Expand Down