This commit is contained in:
Vanessa 2023-05-31 15:39:42 +08:00
parent 083f20357d
commit ac662902d1
3 changed files with 31 additions and 3 deletions

View file

@ -114,6 +114,16 @@ export const afterLoadPlugin = (plugin: Plugin) => {
}
});
}
/// #if !MOBILE
plugin.statusBarIcons.forEach(element => {
const statusElement = document.getElementById("status")
if (element.getAttribute("data-position") === "right") {
statusElement.insertAdjacentElement("beforeend", element);
} else {
statusElement.insertAdjacentElement("afterbegin", element);
}
});
/// #endif
if (isWindow()) {
return;
}