Impressia/CoreData/ApplicationSettings+CoreDat...

34 lines
1.0 KiB
Swift
Raw Normal View History

2022-12-31 16:31:05 +01:00
//
// https://mczachurski.dev
2023-01-12 18:34:48 +01:00
// Copyright © 2023 Marcin Czachurski and the repository contributors.
2022-12-31 16:31:05 +01:00
// Licensed under the MIT License.
//
import Foundation
import CoreData
extension ApplicationSettings {
@nonobjc public class func fetchRequest() -> NSFetchRequest<ApplicationSettings> {
return NSFetchRequest<ApplicationSettings>(entityName: "ApplicationSettings")
}
@NSManaged public var currentAccount: String?
2023-01-13 13:37:01 +01:00
@NSManaged public var theme: Int32
2023-01-12 18:34:48 +01:00
@NSManaged public var tintColor: Int32
2023-01-24 12:22:53 +01:00
@NSManaged public var avatarShape: Int32
2023-02-06 14:50:28 +01:00
@NSManaged public var lastRefreshTokens: Date
2023-03-05 09:53:06 +01:00
@NSManaged public var hapticTabSelectionEnabled: Bool
@NSManaged public var hapticRefreshEnabled: Bool
@NSManaged public var hapticButtonPressEnabled: Bool
@NSManaged public var hapticAnimationEnabled: Bool
@NSManaged public var hapticNotificationEnabled: Bool
@NSManaged public var showSensitive: Bool
2023-03-08 17:43:05 +01:00
@NSManaged public var showPhotoDescription: Bool
2022-12-31 16:31:05 +01:00
}
2023-01-13 13:37:01 +01:00
extension ApplicationSettings : Identifiable {
}