mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] Solves Leaks on SavedLoginFragment
disables options menu to avoid leak removes on click listener to avoid leak
This commit is contained in:
parent
67b9b6ff1d
commit
dfab17947d
@ -150,6 +150,8 @@ class SavedLoginsFragment : Fragment() {
|
||||
toolbarChildContainer.visibility = View.GONE
|
||||
(activity as HomeActivity).getSupportActionBarAndInflateIfNecessary().setDisplayShowTitleEnabled(true)
|
||||
sortingStrategyMenu.menuController.dismiss()
|
||||
sortLoginsMenuRoot.setOnClickListener(null)
|
||||
setHasOptionsMenu(false)
|
||||
|
||||
redirectToReAuth(listOf(R.id.loginDetailFragment), findNavController().currentDestination?.id)
|
||||
super.onPause()
|
||||
|
Loading…
Reference in New Issue
Block a user