Brion VIBBER has uploaded a new change for review.

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


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(-)


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

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: newchange
Gerrit-Change-Id: Ifa8aa7b93fa3d519127346802f038f70285fd0c6
Gerrit-PatchSet: 1
Gerrit-Project: apps/ios/commons
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[email protected]>
Gerrit-Reviewer: Mhurd <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to