Merge commit '2648b60dde5b1fc6b79cc23cee9cb67c9c292c32' into beta

This commit is contained in:
Peter 2019-06-29 14:30:48 +03:00
commit 9d751dc635
10 changed files with 8 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -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"
},
{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -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)
}
}
}