mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
no message
This commit is contained in:
@@ -11,7 +11,7 @@ final class KeychainTable: Table {
|
||||
|
||||
func get(_ key: String) -> Data? {
|
||||
if let value = self.valueBox.get(self.tableId, key: self.key(key)) {
|
||||
return Data(bytes: UnsafePointer<UInt8>(value.memory), count: value.length)
|
||||
return Data(bytes: value.memory.assumingMemoryBound(to: UInt8.self), count: value.length)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user