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:
parent
4b726e786b
commit
2defb17c08
@ -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) {
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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) {
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user