mirror of
https://github.com/mue/mue.git
synced 2026-07-09 21:45:26 +02:00
refactor: codacy and some style changes etc
This commit is contained in:
@@ -23,7 +23,6 @@ export function offlineBackground() {
|
||||
};
|
||||
|
||||
localStorage.setItem('currentBackground', JSON.stringify(object));
|
||||
|
||||
return object;
|
||||
}
|
||||
|
||||
@@ -36,4 +35,4 @@ export function gradientStyleBuilder({ type, angle, gradient }) {
|
||||
type: 'colour',
|
||||
style: `background:${gradient[0]?.colour};${grad}`
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ export function uninstall(type, name) {
|
||||
}
|
||||
}
|
||||
localStorage.setItem('installed', JSON.stringify(installed));
|
||||
};
|
||||
}
|
||||
|
||||
export function install(type, input, sideload) {
|
||||
switch (type) {
|
||||
|
||||
@@ -165,4 +165,4 @@ export function moveSettings() {
|
||||
Object.keys(settings).forEach((key) => {
|
||||
localStorage.setItem(key, settings[key]);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,4 +36,4 @@ export function importSettings(e) {
|
||||
|
||||
toast(window.language.toasts.imported);
|
||||
window.stats.postEvent('tab', 'Settings imported');
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user