mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 13:16:58 +02:00
SegmentedVC improvement: Improve animation when quitting searh in HomeVC
This commit is contained in:
@@ -436,6 +436,13 @@
|
||||
// Hide the tabs header
|
||||
if (animated)
|
||||
{
|
||||
// If the currently selected tab is the recents, force to show it right now
|
||||
// The transition looks smoother
|
||||
if (self.selectedViewController.view.hidden == YES && self.selectedViewController == recentsViewController)
|
||||
{
|
||||
self.selectedViewController.view.hidden = NO;
|
||||
}
|
||||
|
||||
[UIView animateWithDuration:.3 delay:0 options:UIViewAnimationOptionBeginFromCurrentState | UIViewAnimationOptionCurveEaseIn
|
||||
animations:^{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user