v0.12.1
This commit is contained in:
@@ -307,11 +307,6 @@ function setTheme(theme) {
|
||||
applyTheme();
|
||||
}
|
||||
|
||||
function cycleTheme() {
|
||||
const modes = ['system', 'light', 'dark'];
|
||||
const index = modes.indexOf(app.theme);
|
||||
setTheme(modes[(index + 1) % modes.length]);
|
||||
}
|
||||
|
||||
async function api(path, options = {}) {
|
||||
const headers = new Headers(options.headers || {});
|
||||
|
||||
Reference in New Issue
Block a user