Version 11.9

This commit is contained in:
Kylmakalle
2024-07-02 19:58:37 +03:00
parent 587ac7bf00
commit 833ecbc777
797 changed files with 40411 additions and 2895 deletions

View File

@@ -3,6 +3,7 @@ import TelegramCore
import Postbox
private enum ApplicationSpecificPreferencesKeyValues: Int32 {
case SGUISettings = 900
case voipDerivedState = 16
case chatArchiveSettings = 17
case chatListFilterSettings = 18
@@ -11,6 +12,7 @@ private enum ApplicationSpecificPreferencesKeyValues: Int32 {
}
public struct ApplicationSpecificPreferencesKeys {
public static let SGUISettings = applicationSpecificPreferencesKey(ApplicationSpecificPreferencesKeyValues.SGUISettings.rawValue)
public static let voipDerivedState = applicationSpecificPreferencesKey(ApplicationSpecificPreferencesKeyValues.voipDerivedState.rawValue)
public static let chatArchiveSettings = applicationSpecificPreferencesKey(ApplicationSpecificPreferencesKeyValues.chatArchiveSettings.rawValue)
public static let chatListFilterSettings = applicationSpecificPreferencesKey(ApplicationSpecificPreferencesKeyValues.chatListFilterSettings.rawValue)
@@ -19,6 +21,8 @@ public struct ApplicationSpecificPreferencesKeys {
}
private enum ApplicationSpecificSharedDataKeyValues: Int32 {
// MARK: Swiftgram
case sgStatus = 999
case inAppNotificationSettings = 0
case presentationPasscodeSettings = 1
case automaticMediaDownloadSettings = 2
@@ -43,6 +47,8 @@ private enum ApplicationSpecificSharedDataKeyValues: Int32 {
}
public struct ApplicationSpecificSharedDataKeys {
// MARK: Swiftgram
public static let sgStatus = applicationSpecificSharedDataKey(ApplicationSpecificSharedDataKeyValues.sgStatus.rawValue)
public static let inAppNotificationSettings = applicationSpecificSharedDataKey(ApplicationSpecificSharedDataKeyValues.inAppNotificationSettings.rawValue)
public static let presentationPasscodeSettings = applicationSpecificSharedDataKey(ApplicationSpecificSharedDataKeyValues.presentationPasscodeSettings.rawValue)
public static let automaticMediaDownloadSettings = applicationSpecificSharedDataKey(ApplicationSpecificSharedDataKeyValues.automaticMediaDownloadSettings.rawValue)