mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
17 lines
523 B
Swift
17 lines
523 B
Swift
import Foundation
|
|
import ValueBox
|
|
|
|
private func applicationSpecificSharedDataKey(_ value: Int32) -> ValueBoxKey {
|
|
let key = ValueBoxKey(length: 4)
|
|
key.setInt32(0, value: value + 1000)
|
|
return key
|
|
}
|
|
|
|
private enum ApplicationSpecificSharedDataKeyValues: Int32 {
|
|
case inAppNotificationSettings = 0
|
|
}
|
|
|
|
public struct ApplicationSpecificSharedDataKeys {
|
|
public static let inAppNotificationSettings = applicationSpecificSharedDataKey(ApplicationSpecificSharedDataKeyValues.inAppNotificationSettings.rawValue)
|
|
}
|