fix: wrap theme option

This commit is contained in:
Sculas
2022-09-08 13:45:28 +02:00
parent 522587321c
commit 6073181ee1

View File

@@ -35,13 +35,15 @@ class ThemePatch : ResourcePatch() {
}
companion object : OptionsContainer() {
var theme: String by PatchOption.StringListOption(
key = "theme",
default = null,
options = Themes.names,
title = "Theme",
description = "Select a theme.",
required = true
var theme: String by option(
PatchOption.StringListOption(
key = "theme",
default = null,
options = Themes.names,
title = "Theme",
description = "Select a theme.",
required = true
)
)
}