Skip to content

Commit

Permalink
fix: text content theme
Browse files Browse the repository at this point in the history
  • Loading branch information
itwillwork committed Jan 27, 2025
1 parent 2484946 commit 64d872a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/kit/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ export const prepareSpec = <Type extends Spec>(
}

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)) {
Expand Down

0 comments on commit 64d872a

Please sign in to comment.