diff --git a/src/main/kotlin/com/marvinelsen/willow/domain/SearchMode.kt b/src/main/kotlin/com/marvinelsen/willow/domain/SearchMode.kt index 071887f..7dc435f 100644 --- a/src/main/kotlin/com/marvinelsen/willow/domain/SearchMode.kt +++ b/src/main/kotlin/com/marvinelsen/willow/domain/SearchMode.kt @@ -1,5 +1,5 @@ package com.marvinelsen.willow.domain enum class SearchMode { - PINYIN, SIMPLIFIED, TRADITIONAL, ENGLISH, SEGMENTS + PINYIN, SIMPLIFIED, TRADITIONAL, SEGMENTS } diff --git a/src/main/kotlin/com/marvinelsen/willow/domain/SqliteDictionary.kt b/src/main/kotlin/com/marvinelsen/willow/domain/SqliteDictionary.kt index fda696d..1f20a11 100644 --- a/src/main/kotlin/com/marvinelsen/willow/domain/SqliteDictionary.kt +++ b/src/main/kotlin/com/marvinelsen/willow/domain/SqliteDictionary.kt @@ -90,7 +90,6 @@ class SqliteDictionary(private val connection: Connection) : Dictionary { SearchMode.SIMPLIFIED -> searchSimplified(query) SearchMode.TRADITIONAL -> searchTraditional(query) SearchMode.SEGMENTS -> searchSegments(query) - SearchMode.ENGLISH -> TODO() } override fun findWordsContaining(entry: DictionaryEntry): List { diff --git a/src/main/resources/fxml/search.fxml b/src/main/resources/fxml/search.fxml index c253b5d..83c4fc9 100644 --- a/src/main/resources/fxml/search.fxml +++ b/src/main/resources/fxml/search.fxml @@ -36,12 +36,5 @@ - - - - -