fix: wrap theme option
This commit is contained in:
parent
8a76cafd37
commit
62c90f916b
|
@ -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
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue