new: add exit dialog when press close button

This commit is contained in:
hiddify-com
2024-08-04 23:19:46 +02:00
parent f54fe79d30
commit a392fe1352
6 changed files with 42 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ class SystemTrayNotifier extends _$SystemTrayNotifier with AppLogger {
// SystemTrayNotifier.setIcon(timeout ? Disconnecting() : Connecting());
} else {
setIcon(const Disconnecting());
tooltip = "${tooltip} - ${connection.present(t)}";
tooltip = "$tooltip - ${connection.present(t)}";
}
if (Platform.isMacOS) {
windowManager.setBadgeLabel("${delay}ms");