Skip to content

Commit

Permalink
fix: checkbox style in black theme
Browse files Browse the repository at this point in the history
In the black theme, the checkbox had a black tint
This had no contrast with the background, so change it
to white

Fixes 15638
  • Loading branch information
david-allison authored and lukstbit committed Feb 24, 2024
1 parent 96f8aee commit a5cbf0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AnkiDroid/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@

<style name="AlertDialogStyle" parent="Theme.AppCompat.Dialog.Alert">
<item name="colorPrimary">?attr/progressDialogButtonTextColor</item>
<item name="buttonTint">?attr/colorOnPrimary</item>
<item name="dialogCornerRadius">@dimen/dialog_corner_radius</item>
<item name="android:background">?attr/dialogBackground</item>
<item name="android:dialogCornerRadius" tools:targetApi="p">@dimen/dialog_corner_radius</item>
Expand Down

0 comments on commit a5cbf0a

Please sign in to comment.