refactor: Remove unused `hasTab` function

This commit is contained in:
Nik Clayton 2023-09-19 22:39:17 +02:00
parent c335fa6217
commit 7b7c304f61
1 changed files with 0 additions and 2 deletions

View File

@ -64,8 +64,6 @@ data class TabData(
override fun hashCode() = Objects.hash(id, arguments) override fun hashCode() = Objects.hash(id, arguments)
} }
fun List<TabData>.hasTab(id: String): Boolean = this.find { it.id == id } != null
fun createTabDataFromId(id: String, arguments: List<String> = emptyList()): TabData { fun createTabDataFromId(id: String, arguments: List<String> = emptyList()): TabData {
return when (id) { return when (id) {
HOME -> TabData( HOME -> TabData(