fix: wrap theme option
This commit is contained in:
parent
2066d58d2f
commit
0f60d07cfb
1 changed files with 9 additions and 7 deletions
|
|
@ -35,13 +35,15 @@ class ThemePatch : ResourcePatch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object : OptionsContainer() {
|
companion object : OptionsContainer() {
|
||||||
var theme: String by PatchOption.StringListOption(
|
var theme: String by option(
|
||||||
key = "theme",
|
PatchOption.StringListOption(
|
||||||
default = null,
|
key = "theme",
|
||||||
options = Themes.names,
|
default = null,
|
||||||
title = "Theme",
|
options = Themes.names,
|
||||||
description = "Select a theme.",
|
title = "Theme",
|
||||||
required = true
|
description = "Select a theme.",
|
||||||
|
required = true
|
||||||
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue