Fix some concurrency warnings.
This commit is contained in:
parent
83298770c2
commit
1e80253018
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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!
|
||||
|
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user