From 7b7c304f61c98b5b986198f0501c04d1d9728265 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 19 Sep 2023 22:39:17 +0200 Subject: [PATCH] refactor: Remove unused `hasTab` function --- app/src/main/java/app/pachli/TabData.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/app/pachli/TabData.kt b/app/src/main/java/app/pachli/TabData.kt index 92df0eb63..78557b37c 100644 --- a/app/src/main/java/app/pachli/TabData.kt +++ b/app/src/main/java/app/pachli/TabData.kt @@ -64,8 +64,6 @@ data class TabData( override fun hashCode() = Objects.hash(id, arguments) } -fun List.hasTab(id: String): Boolean = this.find { it.id == id } != null - fun createTabDataFromId(id: String, arguments: List = emptyList()): TabData { return when (id) { HOME -> TabData(