Vanessa 2023-10-25 17:06:19 +08:00
parent 5047d414e3
commit b2e72fd9ab
34 changed files with 645 additions and 365 deletions

View file

@ -1,7 +1,7 @@
import {App} from "../index";
import {Plugin} from "../plugin";
import {getAllModels} from "../layout/getAll";
import {exportLayout, resizeTopbar} from "../layout/util";
import {exportLayout, resizeTopBar} from "../layout/util";
import {Constants} from "../constants";
export const uninstall = (app: App, name: string) => {
@ -24,7 +24,7 @@ export const uninstall = (app: App, name: string) => {
plugin.topBarIcons.forEach(item => {
item.remove();
});
resizeTopbar();
resizeTopBar();
// rm statusBar
/// #if !MOBILE
plugin.statusBarIcons.forEach(item => {