diff --git a/Packages/Notifications/Sources/Notifications/NotificationsViewModel.swift b/Packages/Notifications/Sources/Notifications/NotificationsViewModel.swift index 333b81e0..49ec6c9e 100644 --- a/Packages/Notifications/Sources/Notifications/NotificationsViewModel.swift +++ b/Packages/Notifications/Sources/Notifications/NotificationsViewModel.swift @@ -42,7 +42,7 @@ import SwiftUI var selectedType: Models.Notification.NotificationType? { didSet { guard oldValue != selectedType, - let id = client?.id + client?.id != nil else { return } if !isLockedType { diff --git a/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift b/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift index 62b7a9b1..0b644b91 100644 --- a/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift +++ b/Packages/Status/Sources/Status/Editor/Components/StatusEditorUTTypeSupported.swift @@ -1,4 +1,4 @@ -import AVFoundation +@preconcurrency import AVFoundation import Foundation import PhotosUI import SwiftUI