refactor: Remove unused `hasTab` function
This commit is contained in:
parent
c335fa6217
commit
7b7c304f61
|
@ -64,8 +64,6 @@ data class TabData(
|
|||
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 {
|
||||
return when (id) {
|
||||
HOME -> TabData(
|
||||
|
|
Loading…
Reference in New Issue