Mixed WIP

This commit is contained in:
Ali
2020-02-07 22:09:58 +00:00
parent e2071301c2
commit 9f73cc4018
31 changed files with 1424 additions and 334 deletions

View File

@@ -196,6 +196,7 @@ private enum PreferencesKeyValues: Int32 {
case secretChatSettings = 17
case walletCollection = 18
case contentSettings = 19
case chatListFilters = 20
}
public func applicationSpecificPreferencesKey(_ value: Int32) -> ValueBoxKey {
@@ -306,6 +307,12 @@ public struct PreferencesKeys {
key.setInt32(0, value: PreferencesKeyValues.contentSettings.rawValue)
return key
}()
public static let chatListFilters: ValueBoxKey = {
let key = ValueBoxKey(length: 4)
key.setInt32(0, value: PreferencesKeyValues.chatListFilters.rawValue)
return key
}()
}
private enum SharedDataKeyValues: Int32 {