mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-29 03:21:29 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
78db6173fb
@ -50,8 +50,8 @@ extension _AdaptedPostboxEncoder.KeyedContainer: KeyedEncodingContainerProtocol
|
|||||||
let innerEncoder = _AdaptedPostboxEncoder(typeHash: typeHash)
|
let innerEncoder = _AdaptedPostboxEncoder(typeHash: typeHash)
|
||||||
try! value.encode(to: innerEncoder)
|
try! value.encode(to: innerEncoder)
|
||||||
|
|
||||||
let type = type(of: value)
|
let typeOfValue = type(of: value)
|
||||||
let typeString = "\(type)"
|
let typeString = "\(typeOfValue)"
|
||||||
var isDictionary = false
|
var isDictionary = false
|
||||||
if typeString.hasPrefix("Dictionary<") {
|
if typeString.hasPrefix("Dictionary<") {
|
||||||
isDictionary = true
|
isDictionary = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user