Merge commit '2648b60dde5b1fc6b79cc23cee9cb67c9c292c32' into beta
After Width: | Height: | Size: 665 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.3 KiB |
@ -3,13 +3,13 @@
|
||||
{
|
||||
"size" : "20x20",
|
||||
"idiom" : "iphone",
|
||||
"filename" : "Simple@40x40.png",
|
||||
"filename" : "BlueNotificationIcon@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"size" : "20x20",
|
||||
"idiom" : "iphone",
|
||||
"filename" : "Simple@60x60.png",
|
||||
"filename" : "BlueNotificationIcon@3x.png",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
@ -51,13 +51,13 @@
|
||||
{
|
||||
"size" : "20x20",
|
||||
"idiom" : "ipad",
|
||||
"filename" : "Simple@20x20.png",
|
||||
"filename" : "BlueNotificationIcon.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"size" : "20x20",
|
||||
"idiom" : "ipad",
|
||||
"filename" : "Simple@40x40-2.png",
|
||||
"filename" : "BlueNotificationIcon@2x-1.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
|
Before Width: | Height: | Size: 800 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 3.0 KiB |
@ -17,10 +17,10 @@ public func getDeepLinkInfo(network: Network, path: String) -> Signal<DeepLinkIn
|
||||
return network.request(Api.functions.help.getDeepLinkInfo(path: path)) |> retryRequest
|
||||
|> map { value -> DeepLinkInfo? in
|
||||
switch value {
|
||||
case .deepLinkInfoEmpty:
|
||||
return nil
|
||||
case let .deepLinkInfo(flags, message, entities):
|
||||
return DeepLinkInfo(message: message, entities: entities != nil ? messageTextEntitiesFromApiEntities(entities!) : [], updateApp: (flags & (1 << 0)) != 0)
|
||||
case .deepLinkInfoEmpty:
|
||||
return nil
|
||||
case let .deepLinkInfo(flags, message, entities):
|
||||
return DeepLinkInfo(message: message, entities: entities != nil ? messageTextEntitiesFromApiEntities(entities!) : [], updateApp: (flags & (1 << 0)) != 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|