2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

[fenix] No issue: Do not create a new instance of TabsTrayStore

We only need one. :)
This commit is contained in:
Jonathan Almeida 2021-04-16 15:15:35 -04:00 committed by Jonathan Almeida
parent 2c4d36392f
commit 8ce71d589f

View File

@ -352,7 +352,7 @@ class TabsTrayFragment : AppCompatDialogFragment(), TabsTrayInteractor {
val menu = MenuIntegration(
context = requireContext(),
browserStore = requireComponents.core.store,
tabsTrayStore = TabsTrayStore(),
tabsTrayStore = tabsTrayStore,
tabLayout = tab_layout,
navigationInteractor = navigationInteractor
).build()