Commit 0986a1d3 authored by Shaojie Hong's avatar Shaojie Hong

避免越界&减少循环次数

parent 493cd726
...@@ -338,6 +338,7 @@ static CGSize AssetGridThumbnailSize; ...@@ -338,6 +338,7 @@ static CGSize AssetGridThumbnailSize;
if ([[[TZImageManager manager] getAssetIdentifier:model.asset] isEqualToString:[[TZImageManager manager] getAssetIdentifier:model_item.asset]]) { if ([[[TZImageManager manager] getAssetIdentifier:model.asset] isEqualToString:[[TZImageManager manager] getAssetIdentifier:model_item.asset]]) {
[tzImagePickerVc.selectedModels removeObject:model_item]; [tzImagePickerVc.selectedModels removeObject:model_item];
} }
break;
} }
[weakSelf refreshBottomToolBarStatus]; [weakSelf refreshBottomToolBarStatus];
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment