mostly working, themes are broken, as are others.

This commit is contained in:
Crazypersonalph
2023-12-04 20:50:24 +08:00
parent 8af59e58d6
commit d14280724e
7 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
import browser from 'webextension-polyfill'
import { MenuOptionsOpen, OpenMenuOptions, closeSettings } from '../../SEQTA.js';
import { deleteTheme, disableTheme, downloadTheme, listThemes, setTheme } from '../ui/Themes.js';
import { MenuOptionsOpen, OpenMenuOptions, closeSettings } from '../../SEQTA';
import { deleteTheme, disableTheme, downloadTheme, listThemes, setTheme } from '../ui/Themes';
export class MessageHandler {
constructor() {
browser.runtime.onMessage.addListener(this.routeMessage.bind(this));
}
routeMessage(request: any, sender: any, sendResponse: any) {
routeMessage(request: any, sendResponse: any) {
switch (request.info) {
case 'EditSidebar':
+3 -3
View File
@@ -8,9 +8,9 @@ import {
addShortcuts,
disableNotificationCollector,
enableNotificationCollector,
} from '../../SEQTA.js';
import { updateBgDurations } from '../ui/Animation.js';
import { getDarkMode, updateAllColors } from '../ui/colors/Manager.js';
} from '../../SEQTA';
import { updateBgDurations } from '../ui/Animation';
import { getDarkMode, updateAllColors } from '../ui/colors/Manager';
export default class StorageListener {