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

[fenix] For https://github.com/mozilla-mobile/fenix/issues/21776 - Remove val from constructor parameter that are never used as a property

This commit is contained in:
Gabriel Luong 2021-10-07 13:02:03 -04:00 committed by mergify[bot]
parent 4b726e786b
commit 2defb17c08
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ import org.mozilla.fenix.home.HomeFragmentStore
*/ */
@OptIn(ExperimentalCoroutinesApi::class) @OptIn(ExperimentalCoroutinesApi::class)
class RecentTabsListFeature( class RecentTabsListFeature(
private val browserStore: BrowserStore, browserStore: BrowserStore,
private val homeStore: HomeFragmentStore private val homeStore: HomeFragmentStore
) : AbstractBinding<BrowserState>(browserStore) { ) : AbstractBinding<BrowserState>(browserStore) {

View File

@ -41,7 +41,7 @@ class AwesomeBarView(
private val activity: HomeActivity, private val activity: HomeActivity,
val interactor: AwesomeBarInteractor, val interactor: AwesomeBarInteractor,
val view: AwesomeBarWrapper, val view: AwesomeBarWrapper,
private val fromHomeFragment: Boolean fromHomeFragment: Boolean
) { ) {
private val sessionProvider: SessionSuggestionProvider private val sessionProvider: SessionSuggestionProvider
private val historyStorageProvider: HistoryStorageSuggestionProvider private val historyStorageProvider: HistoryStorageSuggestionProvider

View File

@ -20,7 +20,7 @@ import mozilla.components.ui.tabcounter.TabCounter
*/ */
@OptIn(ExperimentalCoroutinesApi::class) @OptIn(ExperimentalCoroutinesApi::class)
class TabCounterBinding( class TabCounterBinding(
private val store: BrowserStore, store: BrowserStore,
private val counter: TabCounter private val counter: TabCounter
) : AbstractBinding<BrowserState>(store) { ) : AbstractBinding<BrowserState>(store) {

View File

@ -18,7 +18,7 @@ import org.mozilla.fenix.tabstray.TabsTrayStore
*/ */
@OptIn(ExperimentalCoroutinesApi::class) @OptIn(ExperimentalCoroutinesApi::class)
class SwipeToDeleteBinding( class SwipeToDeleteBinding(
private val store: TabsTrayStore store: TabsTrayStore
) : AbstractBinding<TabsTrayState>(store) { ) : AbstractBinding<TabsTrayState>(store) {
var isSwipeable = false var isSwipeable = false
private set private set