mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Fix nullability in ASImageDownloaderProtocol completion handler
This commit is contained in:
@@ -52,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
- (id)downloadImageWithURL:(nullable NSURL *)URL
|
- (id)downloadImageWithURL:(nullable NSURL *)URL
|
||||||
callbackQueue:(nullable dispatch_queue_t)callbackQueue
|
callbackQueue:(nullable dispatch_queue_t)callbackQueue
|
||||||
downloadProgressBlock:(void (^ _Nullable)(CGFloat progress))downloadProgressBlock
|
downloadProgressBlock:(void (^ _Nullable)(CGFloat progress))downloadProgressBlock
|
||||||
completion:(void (^ _Nullable)(CGImageRef image, NSError *error))completion;
|
completion:(void (^ _Nullable)(CGImageRef _Nullable image, NSError * _Nullable error))completion;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@abstract Cancels an image download.
|
@abstract Cancels an image download.
|
||||||
|
|||||||
Reference in New Issue
Block a user