Skip to content

Commit 2ca3262

Browse files
committed
Fix custom module tags saving defaults
1 parent ff5c348 commit 2ca3262

File tree

1 file changed

+2
-2
lines changed
  • common/src/main/kotlin/com/lambda/module

1 file changed

+2
-2
lines changed

common/src/main/kotlin/com/lambda/module/Module.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ abstract class Module(
9898
private val isEnabledSetting = setting("Enabled", enabledByDefault, visibility = { false })
9999
private val keybindSetting = setting("Keybind", defaultKeybind)
100100
private val isVisible = setting("Visible", true)
101-
val customTags = setting("Tags", defaultTags, visibility = { false })
101+
val customTags = setting("Tags", emptySet<ModuleTag>(), visibility = { false })
102102

103103
var isEnabled by isEnabledSetting
104104
override val isMuted: Boolean
105105
get() = !isEnabled && !alwaysListening
106-
private val keybind by keybindSetting
106+
val keybind by keybindSetting
107107

108108
init {
109109
listener<KeyPressEvent>(alwaysListen = true) { event ->

0 commit comments

Comments
 (0)