Various improvements

This commit is contained in:
Ilya Laktyushin
2023-11-22 03:24:33 +04:00
parent 31eb1081df
commit 90f09a13e4
134 changed files with 8488 additions and 3171 deletions

View File

@@ -269,6 +269,7 @@ private enum PreferencesKeyValues: Int32 {
case chatListFilterUpdates = 30
case globalPrivacySettings = 31
case storiesConfiguration = 32
case audioTranscriptionTrialState = 33
}
public func applicationSpecificPreferencesKey(_ value: Int32) -> ValueBoxKey {
@@ -433,6 +434,12 @@ public struct PreferencesKeys {
key.setInt32(0, value: PreferencesKeyValues.storiesConfiguration.rawValue)
return key
}()
public static let audioTranscriptionTrialState: ValueBoxKey = {
let key = ValueBoxKey(length: 4)
key.setInt32(0, value: PreferencesKeyValues.audioTranscriptionTrialState.rawValue)
return key
}()
}
private enum SharedDataKeyValues: Int32 {