mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
* Fixed a glitch in media viewer when dismissing a GIF: the WebView which shows the animation would show in the background while the transition interaction occurred * adding the changelog entry Signed-off-by: Milton Moura <miltonmoura@gmail.com>
This commit is contained in:
@@ -111,7 +111,9 @@
|
||||
- (void)startInteractiveTransition:(id <UIViewControllerContextTransitioning>)transitionContext
|
||||
{
|
||||
self.transitionContext = transitionContext;
|
||||
|
||||
|
||||
[self.destinationViewController prepareSubviewsForTransition:YES];
|
||||
|
||||
UIViewController *fromViewController = [transitionContext viewControllerForKey:UITransitionContextFromViewControllerKey];
|
||||
UIImageView *destinationImageView = [self.destinationViewController finalImageView];
|
||||
destinationImageView.hidden = YES;
|
||||
@@ -158,6 +160,8 @@
|
||||
|
||||
[self.transitionContext cancelInteractiveTransition];
|
||||
[self.transitionContext completeTransition:NO];
|
||||
|
||||
[self.destinationViewController prepareSubviewsForTransition:NO];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user