check macos

This commit is contained in:
hiddify-com
2024-08-05 15:48:20 +02:00
parent 44e5f2f5f6
commit 607f1297f8
2 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ class AppDelegate: FlutterAppDelegate {
// https://github.com/leanflutter/window_manager/issues/214
return false
}
func applicationDidFinishLaunching(_ aNotification: Notification) {
override func applicationDidFinishLaunching(_ aNotification: Notification) {
// Request notification authorization
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge]) { granted, error in
if let error = error {