Continue fixing concurrency warnings.

This commit is contained in:
Brent Simmons
2024-03-19 23:05:30 -07:00
parent 6ab10e871c
commit d0760f3d12
64 changed files with 444 additions and 459 deletions

View File

@@ -15,8 +15,8 @@ enum FontSize: Int {
case veryLarge = 3
}
final class AppDefaults {
final class AppDefaults: Sendable {
static let defaultThemeName = "Default"
static let shared = AppDefaults()
@@ -66,7 +66,7 @@ final class AppDefaults {
return false
}()
var isFirstRun: Bool = {
let isFirstRun: Bool = {
if let _ = UserDefaults.standard.object(forKey: Key.firstRunDate) as? Date {
return false
}