Don't recreate WebxdcActivity when going to dark mode (#2601)

This fixes the problem that if the user sets the device to dark mode while a webxdc is open, it re-loads veeeeery slowly.
This commit is contained in:
Hocuri 2023-06-26 11:10:26 +02:00 committed by GitHub
parent 49ad325426
commit 6b2516f8be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -318,7 +318,7 @@
<activity android:name=".WebxdcActivity"
android:label=""
android:theme="@style/TextSecure.LightTheme"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize|uiMode"
android:exported="true">
</activity>