Skip to content

Commit

Permalink
Improve consistency with the original code
Browse files Browse the repository at this point in the history
  • Loading branch information
stanmots committed Apr 21, 2016
1 parent d44b5fb commit 5e345a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions CTAssetsPickerController/CTAssetScrollView.m
Expand Up @@ -295,10 +295,9 @@ - (void)bind:(PHAsset *)asset image:(UIImage *)image requestInfo:(NSDictionary *
{
BOOL zoom = (!self.image);
self.image = image;
self.imageView.image = image;

self.imageView.image = image;

if (isDegraded)
if (isDegraded)
[self mimicProgress];
else
[self setProgress:1];
Expand Down
2 changes: 1 addition & 1 deletion CTAssetsPickerDemo.xcodeproj/project.pbxproj
Expand Up @@ -135,7 +135,7 @@
ADD966021AAD5780002A26A2 /* CTAssetItemViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CTAssetItemViewController.h; sourceTree = "<group>"; };
ADD966031AAD5780002A26A2 /* CTAssetItemViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CTAssetItemViewController.m; sourceTree = "<group>"; };
ADD966041AAD5780002A26A2 /* CTAssetScrollView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CTAssetScrollView.h; sourceTree = "<group>"; };
ADD966051AAD5780002A26A2 /* CTAssetScrollView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = CTAssetScrollView.m; sourceTree = "<group>"; };
ADD966051AAD5780002A26A2 /* CTAssetScrollView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = CTAssetScrollView.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
ADD966061AAD5780002A26A2 /* CTAssetCollectionViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CTAssetCollectionViewCell.h; sourceTree = "<group>"; };
ADD966071AAD5780002A26A2 /* CTAssetCollectionViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = CTAssetCollectionViewCell.m; sourceTree = "<group>"; };
ADD966081AAD5780002A26A2 /* CTAssetCollectionViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CTAssetCollectionViewController.h; sourceTree = "<group>"; };
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Expand Up @@ -14,7 +14,7 @@ EXTERNAL SOURCES:
:path: "."

SPEC CHECKSUMS:
CTAssetsPickerController: b88d1ca098a4645399ab25e96b56b7b64550f2e7
CTAssetsPickerController: d0e938e161a59cddf159621371c1be220a7d4b05
PureLayout: f35f5384c9c4e4479df041dbe33ad7577b71ddfb

COCOAPODS: 0.39.0

0 comments on commit 5e345a2

Please sign in to comment.