2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

[fenix] No issue - Remove unused data class TopSiteItem

This commit is contained in:
ekager 2020-04-29 11:24:05 -07:00 committed by Emily Kager
parent 2069cc29d3
commit 6ac92c0839

View File

@ -34,12 +34,6 @@ data class Tab(
val mediaState: MediaState.State val mediaState: MediaState.State
) )
data class TopSiteItem(
override val id: Long,
override val title: String,
override val url: String
) : TopSite
fun List<Tab>.toSessionBundle(sessionManager: SessionManager): List<Session> { fun List<Tab>.toSessionBundle(sessionManager: SessionManager): List<Session> {
return this.mapNotNull { sessionManager.findSessionById(it.sessionId) } return this.mapNotNull { sessionManager.findSessionById(it.sessionId) }
} }