mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Merge pull request #3534 from vector-im/fix_orientation_crash
Fix Orientation Crash
This commit is contained in:
commit
82c1bac2fe
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ Improvements:
|
|||
|
||||
Bugfix:
|
||||
* Fix pin code cell selection.
|
||||
* Fix default orientation crash.
|
||||
|
||||
API Change:
|
||||
*
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
return [self.topViewController preferredInterfaceOrientationForPresentation];
|
||||
}
|
||||
|
||||
return UIInterfaceOrientationUnknown;
|
||||
return UIInterfaceOrientationPortrait;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue