Impressia/CoreData/ApplicationSettings+CoreDat...

44 lines
1.5 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.
2023-03-28 10:35:38 +02:00
// Licensed under the Apache License 2.0.
2022-12-31 16:31:05 +01:00
//
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-03-18 18:40:07 +01:00
@NSManaged public var activeIcon: String
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
2023-03-05 09:53:06 +01:00
@NSManaged public var showSensitive: Bool
2023-03-08 17:43:05 +01:00
@NSManaged public var showPhotoDescription: Bool
2023-04-06 13:19:55 +02:00
@NSManaged public var menuPosition: Int32
@NSManaged public var showAvatarsOnTimeline: Bool
2023-04-14 16:50:47 +02:00
@NSManaged public var showFavouritesOnTimeline: Bool
@NSManaged public var showAltIconOnTimeline: Bool
@NSManaged public var warnAboutMissingAlt: Bool
2023-04-18 20:34:59 +02:00
@NSManaged public var customNavigationMenuItem1: Int32
@NSManaged public var customNavigationMenuItem2: Int32
@NSManaged public var customNavigationMenuItem3: Int32
2022-12-31 16:31:05 +01:00
}
2023-01-13 13:37:01 +01:00
extension ApplicationSettings: Identifiable {
2023-01-13 13:37:01 +01:00
}