Update popup UI

This commit is contained in:
2024-07-28 23:04:04 +02:00
parent ae2f196b06
commit 67c492db47
5 changed files with 169 additions and 143 deletions

View File

@ -25,11 +25,8 @@ export const Hosters = {
getAllDisabled: async () => {
return await storageGet<boolean>('hosters.allDisabled', false);
},
disableAll: async () => {
await storageSet('hosters.allDisabled', true);
},
enableAll: async () => {
await storageSet('hosters.allDisabled', false);
setAll: async (enable: boolean) => {
await storageSet('hosters.allDisabled', !enable);
}
};
@ -47,7 +44,7 @@ export const Redirect = {
export const Other = {
getFf2mpv: async () => {
return await storageGet('other.ff2mpv', true);
return await storageGet('other.ff2mpv', false);
},
setFf2mpv: async (enable: boolean) => {
await storageSet('other.ff2mpv', enable);