mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-27 17:20:01 +00:00
Merge branch 'master' into update-objc
Conflicts: AsyncDisplayKit/ASCollectionView.h AsyncDisplayKit/ASDisplayNode.h AsyncDisplayKit/Details/ASDataController.h AsyncDisplayKit/Details/UIView+ASConvenience.h AsyncDisplayKit/Layout/ASLayoutSpec.h
This commit is contained in:
@@ -33,6 +33,20 @@ typedef NS_ENUM(NSUInteger, ASMultiplexImageNodeErrorCode) {
|
||||
* Indicates that the best image identifier changed before a download for a worse identifier began.
|
||||
*/
|
||||
ASMultiplexImageNodeErrorCodeBestImageIdentifierChanged,
|
||||
|
||||
/**
|
||||
* Indicates that the Photos framework returned no image and no error.
|
||||
* This may happen if the image is in iCloud and the user did not specify `allowsNetworkAccess`
|
||||
* in their image request.
|
||||
*/
|
||||
ASMultiplexImageNodeErrorCodePhotosImageManagerFailedWithoutError,
|
||||
|
||||
/**
|
||||
* Indicates that the image node could not retrieve the PHAsset for a given asset identifier.
|
||||
* This typically means that the user has not given Photos framework permissions yet or the asset
|
||||
* has been removed from the device.
|
||||
*/
|
||||
ASMultiplexImageNodeErrorCodePHAssetIsUnavailable
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user