1
0
Fork 0

Pass BrowserIcons instance to SessionSuggestionProvider and HistoryStorageSuggestionProvider.

master
Sebastian Kaspari 2019-03-22 14:15:28 +01:00 committed by Colin Lee
parent 18284bb442
commit 52e9394324
2 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,6 @@ import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.Dispatchers.Main import kotlinx.coroutines.Dispatchers.Main
import kotlinx.coroutines.Job import kotlinx.coroutines.Job
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import mozilla.components.browser.icons.BrowserIcons
import mozilla.components.browser.icons.IconRequest import mozilla.components.browser.icons.IconRequest
import org.jetbrains.anko.image import org.jetbrains.anko.image
import org.mozilla.fenix.R import org.mozilla.fenix.R

View File

@ -73,11 +73,13 @@ class AwesomeBarUIView(
view.addProviders( view.addProviders(
SessionSuggestionProvider( SessionSuggestionProvider(
components.core.sessionManager, components.core.sessionManager,
components.useCases.tabsUseCases.selectTab components.useCases.tabsUseCases.selectTab,
components.utils.icons
), ),
HistoryStorageSuggestionProvider( HistoryStorageSuggestionProvider(
components.core.historyStorage, components.core.historyStorage,
loadUrlUseCase loadUrlUseCase,
components.utils.icons
) )
) )
} }