1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-15 15:45:20 -04:00

fix(Notepad): clean up edge cases & updated popout handling

This commit is contained in:
purian23
2026-06-14 22:15:34 -04:00
parent db56c8d74d
commit 2026ba5bd2
5 changed files with 98 additions and 50 deletions
+4
View File
@@ -386,6 +386,10 @@ Item {
}
function close(): string {
if (SettingsData.notepadDefaultMode === "popout") {
PopoutService.notepadPopout?.hide();
return "NOTEPAD_CLOSE_SUCCESS";
}
var instance = getActiveNotepadInstance();
if (instance) {
instance.hide();