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:
Alexander Capehart 2023-08-16 19:58:38 -06:00
parent 12bc46e210
commit 58989f8568
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
2 changed files with 1 additions and 7 deletions

View file

@ -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 ---
collectImmediately(detailModel.editedPlaylist, detailBackCallback::invalidateEnabled)
collectImmediately(homeModel.showOuter.flow, ::handleShowOuter)

View file

@ -1,7 +1,7 @@
buildscript {
ext {
kotlin_version = '1.9.0'
navigation_version = "2.7.0"
navigation_version = "2.5.3"
hilt_version = '2.47'
}