Skip to content

Commit

Permalink
fix #325
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Jan 2, 2019
1 parent 26e6b3a commit ec9c712
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion PhotoBrowser/ZLImageEditTools/ZLImageEditTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@class ZLPhotoConfiguration;

typedef NS_ENUM(NSUInteger, ZLImageEditType) {
typedef NS_OPTIONS(NSUInteger, ZLImageEditType) {
ZLImageEditTypeClip = 1 << 1,
ZLImageEditTypeRotate = 1 << 2,
ZLImageEditTypeFilter = 1 << 3,
Expand Down
2 changes: 1 addition & 1 deletion PhotoBrowser/ZLPhotoActionSheet.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
选择照片回调,回调解析好的图片、对应的asset对象、是否原图
pod 2.2.6版本之后 统一通过selectImageBlock回调
*/
@property (nonatomic, copy) void (^selectImageBlock)(NSArray<UIImage *> *__nullable images, NSArray<PHAsset *> *assets, BOOL isOriginal);
@property (nonatomic, copy) void (^selectImageBlock)(NSArray<UIImage *> *_Nullable images, NSArray<PHAsset *> *assets, BOOL isOriginal);

/**
取消选择回调
Expand Down
3 changes: 0 additions & 3 deletions PhotoBrowser/ZLPhotoManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -623,9 +623,6 @@ + (NSString *)transformDataLength:(NSInteger)dataLength {

+ (void)markSelectModelInArr:(NSArray<ZLPhotoModel *> *)dataArr selArr:(NSArray<ZLPhotoModel *> *)selArr
{
if (!selArr.count) {
return;
}
NSMutableArray *selIdentifiers = [NSMutableArray array];
for (ZLPhotoModel *m in selArr) {
[selIdentifiers addObject:m.asset.localIdentifier];
Expand Down

0 comments on commit ec9c712

Please sign in to comment.