Skip to content

Commit

Permalink
Fixed SwiftLint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
austincondiff committed Feb 15, 2025
1 parent d3d26d1 commit a4846e9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// NotificationManager+Delegate.swift
// CodeEdit
//
// Created by Austin Condiff on 2/14/24.
//

import UserNotifications

extension NotificationManager: UNUserNotificationCenterDelegate {
Expand All @@ -22,4 +29,4 @@ extension NotificationManager: UNUserNotificationCenterDelegate {
// Don't show system notifications when app is active
completionHandler([])
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
//
// NotificationManager+System.swift
// CodeEdit
//
// Created by Austin Condiff on 2/14/24.
//

import SwiftUI
import UserNotifications

extension NotificationManager {
/// Shows a notification in macOS Notification Center when app is in background
Expand All @@ -25,4 +33,4 @@ extension NotificationManager {
dismissNotification(notification)
}
}
}
}

0 comments on commit a4846e9

Please sign in to comment.