mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-06 13:12:49 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
@@ -279,6 +279,7 @@ private enum PreferencesKeyValues: Int32 {
|
||||
case storiesConfiguration = 32
|
||||
case audioTranscriptionTrialState = 33
|
||||
case didCacheSavedMessageTagsPrefix = 34
|
||||
case displaySavedChatsAsTopics = 35
|
||||
}
|
||||
|
||||
public func applicationSpecificPreferencesKey(_ value: Int32) -> ValueBoxKey {
|
||||
@@ -456,6 +457,12 @@ public struct PreferencesKeys {
|
||||
key.setInt64(4, value: threadId ?? 0)
|
||||
return key
|
||||
}
|
||||
|
||||
public static func displaySavedChatsAsTopics() -> ValueBoxKey {
|
||||
let key = ValueBoxKey(length: 4)
|
||||
key.setInt32(0, value: PreferencesKeyValues.displaySavedChatsAsTopics.rawValue)
|
||||
return key
|
||||
}
|
||||
}
|
||||
|
||||
private enum SharedDataKeyValues: Int32 {
|
||||
|
||||
@@ -235,7 +235,8 @@ public let telegramPostboxSeedConfiguration: SeedConfiguration = {
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
},
|
||||
displaySavedMessagesAsTopicListPreferencesKey: PreferencesKeys.displaySavedChatsAsTopics()
|
||||
)
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user