mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
19c5a9952e
commit
540fe7cfde
1 changed files with 5 additions and 2 deletions
|
@ -32,9 +32,12 @@ export const uninstall = (app: App, name: string, isUninstall = false) => {
|
||||||
});
|
});
|
||||||
/// #endif
|
/// #endif
|
||||||
// rm topBar
|
// rm topBar
|
||||||
plugin.topBarIcons.forEach(item => {
|
for (let i = 0; i < plugin.topBarIcons.length; i++) {
|
||||||
|
const item = plugin.topBarIcons[i];
|
||||||
item.remove();
|
item.remove();
|
||||||
});
|
plugin.topBarIcons.splice(i, 1);
|
||||||
|
i--;
|
||||||
|
}
|
||||||
/// #if !MOBILE
|
/// #if !MOBILE
|
||||||
resizeTopBar();
|
resizeTopBar();
|
||||||
// rm statusBar
|
// rm statusBar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue