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:
parent
2069cc29d3
commit
6ac92c0839
@ -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) }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user