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-04-01 12:10:59 +02:00
|
|
|
|
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-04-01 12:10:59 +02:00
|
|
|
|
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
|
2022-12-31 16:31:05 +01:00
|
|
|
}
|
2023-01-13 13:37:01 +01:00
|
|
|
|
2023-04-01 12:10:59 +02:00
|
|
|
extension ApplicationSettings: Identifiable {
|
2023-01-13 13:37:01 +01:00
|
|
|
}
|