Fix color of 'turn on wifi' button

This commit is contained in:
Torsten Grote
2025-01-25 13:07:24 -03:00
parent 7f71c38e97
commit c2c9e8d4df
2 changed files with 4 additions and 4 deletions

View File

@@ -45,10 +45,10 @@
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/turn_on_wifi"
style="@style/Widget.Material3.Button.TextButton"
style="@style/ThemeOverlay.App.Button.TextButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_gravity="end"
android:layout_marginTop="8dp"
android:text="@string/turn_on_wifi" />

View File

@@ -1,11 +1,11 @@
<?xml version='1.0' encoding='utf-8'?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!--Button-->
<style name="ThemeOverlay.App.Button" parent="">
<style name="ThemeOverlay.App.Button" parent="Widget.Material3.Button">
<item name="colorPrimary">@color/fdroid_green</item>
</style>
<style name="ThemeOverlay.App.Button.TextButton" parent="">
<style name="ThemeOverlay.App.Button.TextButton" parent="Widget.Material3.Button.TextButton">
<item name="colorPrimary">@color/fdroid_green</item>
<item name="android:textColor">@color/fdroid_green</item>
</style>