From dcded30cc493559b1a58e0edfdc553f71798d3dc Mon Sep 17 00:00:00 2001 From: ismailgulek Date: Wed, 12 Aug 2020 17:41:54 +0300 Subject: [PATCH 1/2] Fix default orientation for navigation controllers --- Riot/Categories/UINavigationController+Riot.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Riot/Categories/UINavigationController+Riot.m b/Riot/Categories/UINavigationController+Riot.m index 587a9087f..919f46798 100644 --- a/Riot/Categories/UINavigationController+Riot.m +++ b/Riot/Categories/UINavigationController+Riot.m @@ -46,7 +46,7 @@ return [self.topViewController preferredInterfaceOrientationForPresentation]; } - return UIInterfaceOrientationUnknown; + return UIInterfaceOrientationPortrait; } @end From 3e65b6f2eca655cd13e68d9689cefe81dc3736f5 Mon Sep 17 00:00:00 2001 From: ismailgulek Date: Wed, 12 Aug 2020 17:42:45 +0300 Subject: [PATCH 2/2] Update CHANGES.rst --- CHANGES.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.rst b/CHANGES.rst index 44cccfb10..073e49d77 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,7 @@ Improvements: Bugfix: * Fix pin code cell selection. + * Fix default orientation crash. API Change: *