2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00
This commit is contained in:
Noah Bond 2022-08-23 14:52:59 -07:00 committed by mergify[bot]
parent 02dddf9610
commit 35e715b06b

View File

@ -5,7 +5,6 @@
package org.mozilla.fenix.home.recenttabs.view
import android.view.View
import androidx.compose.foundation.layout.Column
import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.ComposeView
import androidx.compose.ui.res.stringResource
@ -22,7 +21,6 @@ import org.mozilla.fenix.home.recenttabs.interactor.RecentTabInteractor
* @param composeView [ComposeView] which will be populated with Jetpack Compose UI content.
* @param recentTabInteractor [RecentTabInteractor] which will have delegated to all user recent
* tab interactions.
* @param recentSyncedTabInteractor [RecentSyncedTabInteractor] which will have delegated to all user
* recent synced tab interactions.
*/
class RecentTabViewHolder(
@ -45,7 +43,6 @@ class RecentTabViewHolder(
override fun Content() {
val recentTabs = components.appStore.observeAsComposableState { state -> state.recentTabs }
Column {
RecentTabs(
recentTabs = recentTabs.value ?: emptyList(),
onRecentTabClick = { recentTabInteractor.onRecentTabClicked(it) },
@ -58,4 +55,3 @@ class RecentTabViewHolder(
)
}
}
}