feat: implement custom close behavior for Amnezia application on different platforms

This commit is contained in:
Yaroslav Yashin 2025-06-02 17:30:42 +03:00
parent 4f2d9b4fa9
commit 7aacd15a4c
5 changed files with 30 additions and 26 deletions

View file

@ -26,7 +26,8 @@ Window {
color: AmneziaStyle.color.midnightBlack
onClosing: function() {
onClosing: function(close) {
close.accepted = false
PageController.closeWindow()
}