mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix decodeOptionalDouble returning zero instead of nil
This commit is contained in:
parent
e45a3c0ee9
commit
43517068e8
@ -896,7 +896,7 @@ public final class PostboxDecoder {
|
|||||||
self.offset += 8
|
self.offset += 8
|
||||||
return value
|
return value
|
||||||
} else {
|
} else {
|
||||||
return 0
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user