Skip to content
Snippets Groups Projects
Commit 4175f526 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed a minor theming issue

parent 5db7ad01
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ import com.afollestad.materialdialogs.MaterialDialog;
import java.lang.reflect.Field;
import de.kuschku.quasseldroid_ng.R;
import de.kuschku.util.annotationbind.AutoBinder;
/**
......@@ -120,7 +121,7 @@ public class MaterialListPreference extends ListPreference {
break;
}
})
.backgroundColor(AutoBinder.obtainColor(de.kuschku.quasseldroid_ng.R.attr.colorBackgroundDialog, context.getTheme()))
.backgroundColor(AutoBinder.obtainColor(R.attr.colorBackground, context.getTheme()))
.negativeText(getNegativeButtonText())
.items(getEntries())
.autoDismiss(true) // immediately close the dialog after selection
......
......@@ -76,7 +76,6 @@
<attr name="colorBackgroundHighlight" format="color"/>
<attr name="colorBackgroundSecondary" format="color"/>
<attr name="colorBackgroundCard" format="color"/>
<attr name="colorBackgroundDialog" format="color"/>
<!-- Tint colors for drawer -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment