Skip to content

Commit

Permalink
fix: wrap theme option
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas committed Sep 8, 2022
1 parent 8a76caf commit 62c90f9
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
)
}

Expand Down

0 comments on commit 62c90f9

Please sign in to comment.