fix case where theme color is empty

This commit is contained in:
SethBurkart123
2024-04-07 16:40:14 +10:00
parent 22b3666cf0
commit 22c51e3fb8
4 changed files with 6 additions and 4 deletions
@@ -25,7 +25,7 @@ async function GetTheme() {
async function SetTheme(theme: string) {
localStorage.setItem('selectedBackground', theme);
await browser.storage.local.set({ theme });
//await browser.storage.local.set({ theme });
}
function BackgroundSelector({ isEditMode, disableTheme }: BackgroundSelectorProps) {