Brion VIBBER has submitted this change and it was merged.

Change subject: Fixed visual artifact with swipe to delete.
......................................................................


Fixed visual artifact with swipe to delete.

Needed to call "layoutIfNeeded" further up the view hierarchy.

Change-Id: Ifa8aa7b93fa3d519127346802f038f70285fd0c6
---
M Commons-iOS/DetailScrollViewController.m
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Brion VIBBER: Verified; Looks good to me, approved



diff --git a/Commons-iOS/DetailScrollViewController.m 
b/Commons-iOS/DetailScrollViewController.m
index aa4855c..52cfb57 100644
--- a/Commons-iOS/DetailScrollViewController.m
+++ b/Commons-iOS/DetailScrollViewController.m
@@ -1256,7 +1256,7 @@
                               delay:0.0f
                             options:UIViewAnimationOptionCurveEaseInOut
                          animations:^{
-                             [viewAbove.superview layoutIfNeeded];
+                             [self.view layoutIfNeeded];
                          }
                          completion:^(BOOL finished){
                             [self.selectedRecord removeCategory:category];

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa8aa7b93fa3d519127346802f038f70285fd0c6
Gerrit-PatchSet: 1
Gerrit-Project: apps/ios/commons
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <br...@wikimedia.org>
Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org>
Gerrit-Reviewer: Mhurd <mh...@wikimedia.org>

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

Reply via email to