mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 02:36:10 +01:00
This commit is contained in:
parent
f99d9e19bc
commit
f43770d8d2
7 changed files with 43 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import {App} from "../index";
|
||||
import {Plugin} from "../plugin";
|
||||
import {getAllModels} from "../layout/getAll";
|
||||
import {exportLayout} from "../layout/util";
|
||||
import {exportLayout, resizeTopbar} from "../layout/util";
|
||||
import {Constants} from "../constants";
|
||||
|
||||
export const uninstall = (app: App, name: string) => {
|
||||
|
|
@ -24,6 +24,7 @@ export const uninstall = (app: App, name: string) => {
|
|||
plugin.topBarIcons.forEach(item => {
|
||||
item.remove();
|
||||
});
|
||||
resizeTopbar();
|
||||
// rm statusBar
|
||||
/// #if !MOBILE
|
||||
plugin.statusBarIcons.forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue