From 5e9e1d8295df523746c268fd05f810b84e7a48b9 Mon Sep 17 00:00:00 2001 From: Ean Lombardo Date: Thu, 30 Jan 2025 02:25:29 -0800 Subject: [PATCH] Adapt to orientation changes in MainActivity. (#2087) MainActivity defines an alternate layout for screen more than 600dp wide, but was ignoring orientation changes. This caused a bug where if the application was opened with a wide orientation, but then the orientation changed to a small one, the user would be presented with the wide layout compressed into an unusable screen. fixes #2002 --- Habitica/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Habitica/AndroidManifest.xml b/Habitica/AndroidManifest.xml index bc77b4c59..fffa0c3b8 100644 --- a/Habitica/AndroidManifest.xml +++ b/Habitica/AndroidManifest.xml @@ -33,7 +33,7 @@ android:name=".ui.activities.MainActivity" android:theme="@style/LaunchAppTheme" android:windowSoftInputMode="stateHidden|adjustResize" - android:configChanges="screenSize | smallestScreenSize | screenLayout | orientation" + android:configChanges="screenSize | smallestScreenSize | screenLayout" android:exported="true">