Update Notifications names

Clean up notification name type
Fix import statement for `NotificationsName.swift`
This commit is contained in:
Vincent Tourraine 2024-11-28 21:56:28 +01:00 committed by GitHub
parent ff72ea1cfd
commit da2ee58772
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
import UIKit import Foundation
extension Notification.Name { extension Notification.Name {
public static let shareSheetClose = NSNotification.Name("shareSheetClose") public static let shareSheetClose = Notification.Name("shareSheetClose")
public static let refreshTimeline = Notification.Name("refreshTimeline") public static let refreshTimeline = Notification.Name("refreshTimeline")
public static let homeTimeline = Notification.Name("homeTimeline") public static let homeTimeline = Notification.Name("homeTimeline")
public static let trendingTimeline = Notification.Name("trendingTimeline") public static let trendingTimeline = Notification.Name("trendingTimeline")