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