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
|
2023-04-10 11:23:00 +02:00
|
|
|
@NSManaged public var showAvatarsOnTimeline: Bool
|
2023-04-14 16:50:47 +02:00
|
|
|
@NSManaged public var showFavouritesOnTimeline: Bool
|
2023-04-17 08:06:49 +02:00
|
|
|
@NSManaged public var showAltIconOnTimeline: Bool
|
2023-04-28 19:59:45 +02:00
|
|
|
@NSManaged public var warnAboutMissingAlt: Bool
|
2023-05-06 11:47:13 +02:00
|
|
|
@NSManaged public var showGridOnUserProfile: Bool
|
2023-09-29 16:03:42 +02:00
|
|
|
@NSManaged public var showReboostedStatuses: Bool
|
2023-10-10 13:30:53 +02:00
|
|
|
@NSManaged public var hideStatusesWithoutAlt: 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
|
|
|
|
2023-04-01 12:10:59 +02:00
|
|
|
extension ApplicationSettings: Identifiable {
|
2023-01-13 13:37:01 +01:00
|
|
|
}
|