mirror of
https://github.com/revanced/revanced-patches
synced 2025-01-05 22:05:53 +01:00
fix: wrap theme option
This commit is contained in:
parent
a2f104c24a
commit
150c173adc
@ -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 New Issue
Block a user