diff --git a/Shared/Widget/WidgetDataEncoder.swift b/Shared/Widget/WidgetDataEncoder.swift index 179fa46f0..60370e07d 100644 --- a/Shared/Widget/WidgetDataEncoder.swift +++ b/Shared/Widget/WidgetDataEncoder.swift @@ -24,7 +24,7 @@ public final class WidgetDataEncoder { private lazy var containerURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: appGroup) private lazy var dataURL = containerURL?.appendingPathComponent("widget-data.json") - static let shared = WidgetDataEncoder() + @MainActor static let shared = WidgetDataEncoder() private init () {} func encodeWidgetData() throws { diff --git a/iOS/Add/AddFeedFolderViewController.swift b/iOS/Add/AddFeedFolderViewController.swift index 3510b6af2..8d74f6469 100644 --- a/iOS/Add/AddFeedFolderViewController.swift +++ b/iOS/Add/AddFeedFolderViewController.swift @@ -15,7 +15,7 @@ protocol AddFeedFolderViewControllerDelegate { @MainActor func didSelect(container: Container) } -class AddFeedFolderViewController: UITableViewController { +final class AddFeedFolderViewController: UITableViewController { var delegate: AddFeedFolderViewControllerDelegate? var addFeedType = AddFeedType.web diff --git a/iOS/Add/AddFeedViewController.swift b/iOS/Add/AddFeedViewController.swift index 110fa6b76..0fe6479a8 100644 --- a/iOS/Add/AddFeedViewController.swift +++ b/iOS/Add/AddFeedViewController.swift @@ -17,7 +17,7 @@ enum AddFeedType { case web } -class AddFeedViewController: UITableViewController { +final class AddFeedViewController: UITableViewController { @IBOutlet weak var activityIndicator: UIActivityIndicatorView! @IBOutlet weak var addButton: UIBarButtonItem! diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index a627327f8..42b8bc1c4 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -37,7 +37,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD } } - var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application") + nonisolated(unsafe) let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application") var userNotificationManager: UserNotificationManager! var faviconDownloader: FaviconDownloader!