mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-13 07:04:39 +00:00
fix case where theme color is empty
This commit is contained in:
@@ -30,7 +30,7 @@ export const setTheme = async (themeId: string) => {
|
||||
|
||||
await browser.storage.local.set({
|
||||
selectedTheme: themeId,
|
||||
selectedColor: theme.defaultColour,
|
||||
selectedColor: theme.defaultColour !== '' ? theme.defaultColour : '#007bff',
|
||||
originalSelectedColor: originalSelectedColor.selectedColor
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user