2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +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)
class RecentTabsListFeature(
private val browserStore: BrowserStore,
browserStore: BrowserStore,
private val homeStore: HomeFragmentStore
) : AbstractBinding<BrowserState>(browserStore) {

View File

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

View File

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

View File

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