Merge pull request #4317 from IndusAryan/master

fix(deps): Update dependency navigation to 2.6.0
This commit is contained in:
Bnyro 2023-07-29 12:54:33 +02:00 committed by GitHub
commit 72846cd9d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -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)
} }

View File

@ -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"