build: revert to navigation 2.5.3
I would have to duplicate the workaround for every fragment in the project. Easier to just roll back until it's fixed.
This commit is contained in:
parent
12bc46e210
commit
58989f8568
2 changed files with 1 additions and 7 deletions
|
@ -148,12 +148,6 @@ class MainFragment :
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Workaround for a bug where fast navigation ends up desynchronizing the current
|
|
||||||
// destination in the main navigation graph.
|
|
||||||
findNavController().apply {
|
|
||||||
findDestination(R.id.main_fragment)?.let { currentBackStackEntry?.destination = it }
|
|
||||||
}
|
|
||||||
|
|
||||||
// --- VIEWMODEL SETUP ---
|
// --- VIEWMODEL SETUP ---
|
||||||
collectImmediately(detailModel.editedPlaylist, detailBackCallback::invalidateEnabled)
|
collectImmediately(detailModel.editedPlaylist, detailBackCallback::invalidateEnabled)
|
||||||
collectImmediately(homeModel.showOuter.flow, ::handleShowOuter)
|
collectImmediately(homeModel.showOuter.flow, ::handleShowOuter)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
kotlin_version = '1.9.0'
|
kotlin_version = '1.9.0'
|
||||||
navigation_version = "2.7.0"
|
navigation_version = "2.5.3"
|
||||||
hilt_version = '2.47'
|
hilt_version = '2.47'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue