From d1e16a47819509ed645bb93e1a173e0a97025cef Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 8 Jan 2025 19:25:29 +0100 Subject: build: Move mod to subproject --- .../kotlin/moe/nea/ledger/config/MainOptions.kt | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/main/kotlin/moe/nea/ledger/config/MainOptions.kt (limited to 'src/main/kotlin/moe/nea/ledger/config/MainOptions.kt') diff --git a/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt b/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt deleted file mode 100644 index 1efa970..0000000 --- a/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt +++ /dev/null @@ -1,27 +0,0 @@ -package moe.nea.ledger.config - -import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown -import io.github.notenoughupdates.moulconfig.annotations.ConfigOption - -class MainOptions { - @ConfigOption(name = "Marker for Update UI", desc = "_") - @JvmField - @UpdateUiMarker - @Transient - var testOption = Unit - - @ConfigOption(name = "Check for Updates", desc = "Automatically check for updates on startup") - @ConfigEditorDropdown - @JvmField - var updateCheck = UpdateCheckBehaviour.SEMI - - enum class UpdateCheckBehaviour(val label: String) { - SEMI("Semi-Automatic"), - FULL("Full-Automatic"), - NONE("Don't check"); - - override fun toString(): String { - return label - } - } -} -- cgit