mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-06 07:38:21 +00:00
macos: swiftlint 'empty_parentheses_with_trailing_closure' rule
This commit is contained in:
@@ -14,7 +14,6 @@ disabled_rules:
|
||||
|
||||
# TODO
|
||||
- deployment_target
|
||||
- empty_parentheses_with_trailing_closure
|
||||
- for_where
|
||||
- force_cast
|
||||
- implicit_getter
|
||||
|
||||
@@ -1377,7 +1377,7 @@ extension Ghostty {
|
||||
}
|
||||
}
|
||||
|
||||
center.getNotificationSettings() { settings in
|
||||
center.getNotificationSettings { settings in
|
||||
guard settings.authorizationStatus == .authorized else { return }
|
||||
surfaceView.showUserNotification(title: title, body: body)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user