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 b6f9bbf560
commit ad483903ed

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()