2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Remove ThumbnailsUseCases

This commit is contained in:
ekager 2020-06-25 11:09:02 -04:00 committed by Emily Kager
parent 8414152f99
commit d86ea35683
2 changed files with 0 additions and 12 deletions

View File

@ -8,7 +8,6 @@ import android.content.Context
import mozilla.components.browser.search.SearchEngineManager
import mozilla.components.browser.session.SessionManager
import mozilla.components.browser.state.store.BrowserStore
import mozilla.components.browser.thumbnails.ThumbnailsUseCases
import mozilla.components.browser.thumbnails.storage.ThumbnailStorage
import mozilla.components.concept.engine.Engine
import mozilla.components.feature.app.links.AppLinksUseCases
@ -46,16 +45,6 @@ class UseCases(
*/
val tabsUseCases: TabsUseCases by lazy { TabsUseCases(sessionManager) }
/**
* Use cases that provide tab thumbnail integration.
*/
val thumbnailUseCases: ThumbnailsUseCases by lazy {
ThumbnailsUseCases(
store,
thumbnailStorage
)
}
/**
* Use cases that provide search engine integration.
*/

View File

@ -126,7 +126,6 @@ class TabTrayDialogFragment : AppCompatDialogFragment() {
view.context.components.core.store,
selectTabUseCase,
removeTabUseCase,
view.context.components.useCases.thumbnailUseCases,
{ it.content.private == isPrivate },
{ }
),