Brion VIBBER has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/88778


Change subject: Removed fairly un-noticeable fade transition. My Uploads now 
snappier.
......................................................................

Removed fairly un-noticeable fade transition. My Uploads now snappier.

Change-Id: Ifcbd94ce0083a56616b7d9ec64e7283a82eaab89
---
M Commons-iOS/MyUploadsViewController.m
1 file changed, 0 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/ios/commons 
refs/changes/78/88778/1

diff --git a/Commons-iOS/MyUploadsViewController.m 
b/Commons-iOS/MyUploadsViewController.m
index 13d7624..6f3ee1e 100644
--- a/Commons-iOS/MyUploadsViewController.m
+++ b/Commons-iOS/MyUploadsViewController.m
@@ -1073,14 +1073,6 @@
             MWPromise *fetchThumb = [record 
fetchThumbnailWithQueuePriority:NSOperationQueuePriorityNormal];
             [fetchThumb done:^(UIImage *image) {
                 if ([cell.title isEqualToString:title]) {
-                    if (UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad){
-                        // Smooth transition (disabled on iPad for better 
performance - iPad shows many more images at once)
-                        CATransition *transition = [CATransition animation];
-                        transition.duration = 0.10f;
-                        transition.timingFunction = [CAMediaTimingFunction 
functionWithName:kCAMediaTimingFunctionLinear];
-                        transition.type = kCATransitionFade;
-                        [cell.image.layer addAnimation:transition forKey:nil];
-                    }
                     // Also invoke the image setter asynchronously
                     dispatch_async(dispatch_get_main_queue(), ^(void) {
                         cell.image.contentMode = 
UIViewContentModeScaleAspectFill;

-- 
To view, visit https://gerrit.wikimedia.org/r/88778
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifcbd94ce0083a56616b7d9ec64e7283a82eaab89
Gerrit-PatchSet: 1
Gerrit-Project: apps/ios/commons
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <br...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to