Skip to content

Commit a4846e9

Browse files
committed
Fixed SwiftLint errors
1 parent d3d26d1 commit a4846e9

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

CodeEdit/Features/Notifications/NotificationManager+Delegate.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
//
2+
// NotificationManager+Delegate.swift
3+
// CodeEdit
4+
//
5+
// Created by Austin Condiff on 2/14/24.
6+
//
7+
18
import UserNotifications
29

310
extension NotificationManager: UNUserNotificationCenterDelegate {
@@ -22,4 +29,4 @@ extension NotificationManager: UNUserNotificationCenterDelegate {
2229
// Don't show system notifications when app is active
2330
completionHandler([])
2431
}
25-
}
32+
}

CodeEdit/Features/Notifications/NotificationManager+System.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
//
2+
// NotificationManager+System.swift
3+
// CodeEdit
4+
//
5+
// Created by Austin Condiff on 2/14/24.
6+
//
7+
18
import SwiftUI
9+
import UserNotifications
210

311
extension NotificationManager {
412
/// Shows a notification in macOS Notification Center when app is in background
@@ -25,4 +33,4 @@ extension NotificationManager {
2533
dismissNotification(notification)
2634
}
2735
}
28-
}
36+
}

0 commit comments

Comments
 (0)