This commit is contained in:
Ali
2023-07-13 23:51:40 +04:00
parent 03e64b2f74
commit 6f084010d8
40 changed files with 1922 additions and 99 deletions

View File

@@ -259,6 +259,7 @@ private enum PreferencesKeyValues: Int32 {
case accountSpecificCacheStorageSettings = 28
case linksConfiguration = 29
case chatListFilterUpdates = 30
case globalPrivacySettings = 31
}
public func applicationSpecificPreferencesKey(_ value: Int32) -> ValueBoxKey {
@@ -411,6 +412,12 @@ public struct PreferencesKeys {
key.setInt32(0, value: PreferencesKeyValues.chatListFilterUpdates.rawValue)
return key
}()
public static let globalPrivacySettings: ValueBoxKey = {
let key = ValueBoxKey(length: 4)
key.setInt32(0, value: PreferencesKeyValues.globalPrivacySettings.rawValue)
return key
}()
}
private enum SharedDataKeyValues: Int32 {