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
This commit is contained in:
Ean Lombardo 2025-01-30 02:25:29 -08:00 committed by GitHub
parent e20a490238
commit 5e9e1d8295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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">
<nav-graph android:value="@navigation/navigation" />
<intent-filter>