mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
Merge pull request #4317 from IndusAryan/master
fix(deps): Update dependency navigation to 2.6.0
This commit is contained in:
commit
72846cd9d7
@ -500,9 +500,6 @@ class MainActivity : BaseActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun navigateToBottomSelectedItem(item: MenuItem) {
|
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) {
|
if (item.itemId == R.id.subscriptionsFragment) {
|
||||||
binding.bottomNav.removeBadge(R.id.subscriptionsFragment)
|
binding.bottomNav.removeBadge(R.id.subscriptionsFragment)
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@ gradle = "8.1.0"
|
|||||||
lifecycle = "2.6.1"
|
lifecycle = "2.6.1"
|
||||||
constraintlayout = "2.1.4"
|
constraintlayout = "2.1.4"
|
||||||
material = "1.9.0"
|
material = "1.9.0"
|
||||||
navigation = "2.5.3"
|
navigation = "2.6.0"
|
||||||
legacySupport = "1.0.0"
|
legacySupport = "1.0.0"
|
||||||
preference = "1.2.0"
|
preference = "1.2.0"
|
||||||
extJunit = "1.1.5"
|
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" }
|
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-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-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" }
|
kotlinx-serialization-retrofit = { group = "com.jakewharton.retrofit", name = "retrofit2-kotlinx-serialization-converter", version.ref = "kotlinxRetrofit" }
|
||||||
|
Loading…
Reference in New Issue
Block a user