mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
fix image paths in example_extra/Multiplex
This commit is contained in:
@@ -95,15 +95,15 @@
|
|||||||
- (NSURL *)multiplexImageNode:(ASMultiplexImageNode *)imageNode URLForImageIdentifier:(id)imageIdentifier
|
- (NSURL *)multiplexImageNode:(ASMultiplexImageNode *)imageNode URLForImageIdentifier:(id)imageIdentifier
|
||||||
{
|
{
|
||||||
if ([imageIdentifier isEqualToString:@"worst"]) {
|
if ([imageIdentifier isEqualToString:@"worst"]) {
|
||||||
return [NSURL URLWithString:@"https://raw.githubusercontent.com/facebook/AsyncDisplayKit/master/examples/Multiplex/worst.png"];
|
return [NSURL URLWithString:@"https://raw.githubusercontent.com/facebook/AsyncDisplayKit/master/examples_extra/Multiplex/worst.png"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([imageIdentifier isEqualToString:@"medium"]) {
|
if ([imageIdentifier isEqualToString:@"medium"]) {
|
||||||
return [NSURL URLWithString:@"https://raw.githubusercontent.com/facebook/AsyncDisplayKit/master/examples/Multiplex/medium.png"];
|
return [NSURL URLWithString:@"https://raw.githubusercontent.com/facebook/AsyncDisplayKit/master/examples_extra/Multiplex/medium.png"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([imageIdentifier isEqualToString:@"best"]) {
|
if ([imageIdentifier isEqualToString:@"best"]) {
|
||||||
return [NSURL URLWithString:@"https://raw.githubusercontent.com/facebook/AsyncDisplayKit/master/examples/Multiplex/best.png"];
|
return [NSURL URLWithString:@"https://raw.githubusercontent.com/facebook/AsyncDisplayKit/master/examples_extra/Multiplex/best.png"];
|
||||||
}
|
}
|
||||||
|
|
||||||
// unexpected identifier
|
// unexpected identifier
|
||||||
|
|||||||
Reference in New Issue
Block a user