mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Try fixing forced dark mode issues on MIUI on Android 10 (#5708)
This commit is contained in:
committed by
GitHub
parent
bf0274074d
commit
860257e3b2
@@ -5,11 +5,13 @@
|
|||||||
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
||||||
~ Please see LICENSE files in the repository root for full details.
|
~ Please see LICENSE files in the repository root for full details.
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
<style name="Theme.ElementX.Splash" parent="Theme.SplashScreen">
|
<style name="Theme.ElementX.Splash" parent="Theme.SplashScreen">
|
||||||
<item name="windowSplashScreenBackground">@color/splashscreen_bg_light</item>
|
<item name="windowSplashScreenBackground">@color/splashscreen_bg_light</item>
|
||||||
<item name="windowSplashScreenAnimatedIcon">@drawable/transparent</item>
|
<item name="windowSplashScreenAnimatedIcon">@drawable/transparent</item>
|
||||||
<item name="postSplashScreenTheme">@style/Theme.ElementX</item>
|
<item name="postSplashScreenTheme">@style/Theme.ElementX</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="Theme.ElementX" parent="Theme.Material3.Light.NoActionBar" />
|
<style name="Theme.ElementX" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user