pl-fe: fix

This commit is contained in:
mkljczk
2024-12-08 21:07:22 +01:00
committed by GitHub
parent 66146a68db
commit 282b0f8c9d

View File

@ -127,7 +127,7 @@ const Preferences = () => {
};
const onBrandColorChange = (newBrandColor: string) => {
if (!settings.theme?.brandColor && newBrandColor === brandColor) return;
if (newBrandColor === brandColor) return;
dispatch(changeSetting(['theme', 'brandColor'], newBrandColor, { showAlert: true, save: false }));
debouncedSave(dispatch);