Merge pull request #3534 from vector-im/fix_orientation_crash

Fix Orientation Crash
This commit is contained in:
ismailgulek 2020-08-12 17:43:22 +03:00 committed by GitHub
commit 82c1bac2fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ Improvements:
Bugfix:
* Fix pin code cell selection.
* Fix default orientation crash.
API Change:
*

View file

@ -46,7 +46,7 @@
return [self.topViewController preferredInterfaceOrientationForPresentation];
}
return UIInterfaceOrientationUnknown;
return UIInterfaceOrientationPortrait;
}
@end