Compare commits
No commits in common. "9100b0c0f408030acf0f365fca7ad0bf3f94aeb7" and "29fd6d0a05538f3356c6a9f4b19b82b4641d4822" have entirely different histories.
9100b0c0f4
...
29fd6d0a05
1 changed files with 16 additions and 8 deletions
|
@ -159,14 +159,18 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
|
|||
fontFamily,
|
||||
fontSize,
|
||||
selectedTheme,
|
||||
faqSettings: {
|
||||
faqBackgroundColor,
|
||||
faqHeadingColor,
|
||||
faqItemBackgroundColor,
|
||||
faqItemHeadingColor,
|
||||
faqItemTextColor,
|
||||
faqItemHoverBackgroundColor,
|
||||
},
|
||||
popupSettings: {
|
||||
popupBackgroundColor,
|
||||
overlayTextColor,
|
||||
},
|
||||
primaryColor,
|
||||
secondaryColor,
|
||||
accentColor,
|
||||
|
@ -313,6 +317,8 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
|
|||
const flattenedSettings = {
|
||||
...settings.userPreferences,
|
||||
...settings.theme,
|
||||
...settings.theme.faqSettings,
|
||||
...settings.theme.popupSettings,
|
||||
...settings.apiKeys,
|
||||
...settings.generalSettings,
|
||||
};
|
||||
|
@ -323,6 +329,8 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
|
|||
}, [
|
||||
...Object.values(settings.userPreferences),
|
||||
...Object.values(settings.theme),
|
||||
...Object.values(settings.theme.faqSettings),
|
||||
...Object.values(settings.theme.popupSettings),
|
||||
...Object.values(settings.apiKeys),
|
||||
...Object.values(settings.generalSettings),
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue