diff --git a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt index ace01df7e..3ece11d55 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt @@ -500,9 +500,6 @@ class MainActivity : BaseActivity() { } private fun navigateToBottomSelectedItem(item: MenuItem) { - // clear backstack if it's the start fragment - if (startFragmentId == item.itemId) navController.backQueue.clear() - if (item.itemId == R.id.subscriptionsFragment) { binding.bottomNav.removeBadge(R.id.subscriptionsFragment) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 23d6cdea7..24264fca2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ gradle = "8.1.0" lifecycle = "2.6.1" constraintlayout = "2.1.4" material = "1.9.0" -navigation = "2.5.3" +navigation = "2.6.0" legacySupport = "1.0.0" preference = "1.2.0" extJunit = "1.1.5" @@ -60,4 +60,4 @@ room = { group = "androidx.room", name="room-ktx", version.ref = "room" } room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" } kotlinx-serialization = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerialization" } kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinxDatetime" } -kotlinx-serialization-retrofit = { group = "com.jakewharton.retrofit", name = "retrofit2-kotlinx-serialization-converter", version.ref = "kotlinxRetrofit" } \ No newline at end of file +kotlinx-serialization-retrofit = { group = "com.jakewharton.retrofit", name = "retrofit2-kotlinx-serialization-converter", version.ref = "kotlinxRetrofit" }