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:
parent
8414152f99
commit
d86ea35683
@ -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.
|
||||
*/
|
||||
|
@ -126,7 +126,6 @@ class TabTrayDialogFragment : AppCompatDialogFragment() {
|
||||
view.context.components.core.store,
|
||||
selectTabUseCase,
|
||||
removeTabUseCase,
|
||||
view.context.components.useCases.thumbnailUseCases,
|
||||
{ it.content.private == isPrivate },
|
||||
{ }
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user