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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user