diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt index 0d1ca8431..127502694 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt @@ -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 + ) ) }