diff --git a/src/lib/kit/utils/common.ts b/src/lib/kit/utils/common.ts index d8a5dc2..582caef 100644 --- a/src/lib/kit/utils/common.ts +++ b/src/lib/kit/utils/common.ts @@ -107,10 +107,7 @@ export const prepareSpec = ( } if (isString(result.viewSpec?.themeLabel)) { - result.viewSpec.textContentParams = { - ...result.viewSpec.textContentParams, - themeLabel: result.viewSpec.themeLabel.toLowerCase(), - }; + result.viewSpec.themeLabel = result.viewSpec.themeLabel.toLowerCase(); } if (isString(result.viewSpec?.oneOfParams?.toggler)) {