Force device orientation check before updating view (fix bug of UI Tab bar taking full screen when opening app after it was started from an incoming call

This commit is contained in:
Christophe Deschamps 2024-02-13 13:05:07 +01:00
parent 012b96798c
commit 89cae39b6d

View file

@ -408,6 +408,8 @@
sideMenu:(NSNumber *)sideMenu
fullscreen:(NSNumber *)fullscreen {
currentOrientation = [self getCorrectInterfaceOrientation:[[UIDevice currentDevice] orientation]];
UIViewController *oldMainViewController = self.mainViewController;
UIViewController *oldDetailsViewController = self.detailsViewController;
UIViewController *oldStatusBarViewController = self.statusBarViewController;