From 64d872ac0ae8ab58336a43661091edb6c6fad721 Mon Sep 17 00:00:00 2001 From: itwillwork Date: Mon, 27 Jan 2025 19:08:28 +0300 Subject: [PATCH] fix: text content theme --- src/lib/kit/utils/common.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)) {