add empty sync api to clean up use
This commit is contained in:
parent
0cca3f9f5b
commit
2a21f1aca2
3 changed files with 14 additions and 5 deletions
|
|
@ -83,9 +83,11 @@ function loadSettings(evt, named) {
|
|||
}
|
||||
|
||||
function showSettings() {
|
||||
api.dialog.update_process_list();
|
||||
api.modal.show("saves");
|
||||
api.ui.settingsName.focus();
|
||||
api.settings.sync.get().then(() => {
|
||||
api.dialog.update_process_list();
|
||||
api.modal.show("saves");
|
||||
api.ui.settingsName.focus();
|
||||
});
|
||||
}
|
||||
|
||||
function updateSettings(opt = {}) {
|
||||
|
|
@ -760,6 +762,11 @@ api.settings = {
|
|||
ctrl() { return settings.controller },
|
||||
mode() { return settings.mode },
|
||||
prof() { return settings.sproc[settings.mode] },
|
||||
sync: {
|
||||
async get() {},
|
||||
async put() {},
|
||||
status: false
|
||||
}
|
||||
};
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue