mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
fix for old xccode
This commit is contained in:
parent
891dae914e
commit
a0a8399415
@ -50,8 +50,8 @@ extension _AdaptedPostboxEncoder.KeyedContainer: KeyedEncodingContainerProtocol
|
||||
let innerEncoder = _AdaptedPostboxEncoder(typeHash: typeHash)
|
||||
try! value.encode(to: innerEncoder)
|
||||
|
||||
let type = type(of: value)
|
||||
let typeString = "\(type)"
|
||||
let typeOfValue = type(of: value)
|
||||
let typeString = "\(typeOfValue)"
|
||||
var isDictionary = false
|
||||
if typeString.hasPrefix("Dictionary<") {
|
||||
isDictionary = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user