mirror of
https://github.com/dragonwocky/obsidian-tray.git
synced 2025-04-17 01:19:02 +00:00
Compare commits
No commits in common. "main" and "0.3.5" have entirely different histories.
6
main.js
6
main.js
@ -478,12 +478,6 @@ class TrayPlugin extends obsidian.Plugin {
|
|||||||
cleanup();
|
cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
getCurrentWindow = getCurrentWindow
|
|
||||||
getWindows = getWindows;
|
|
||||||
showWindows = showWindows;
|
|
||||||
hideWindows = hideWindows;
|
|
||||||
toggleWindows = toggleWindows;
|
|
||||||
|
|
||||||
async loadSettings() {
|
async loadSettings() {
|
||||||
const DEFAULT_SETTINGS = OPTIONS.map((opt) => ({ [opt.key]: opt.default }));
|
const DEFAULT_SETTINGS = OPTIONS.map((opt) => ({ [opt.key]: opt.default }));
|
||||||
this.settings = Object.assign(...DEFAULT_SETTINGS, await this.loadData());
|
this.settings = Object.assign(...DEFAULT_SETTINGS, await this.loadData());
|
||||||
|
Loading…
Reference in New Issue
Block a user