style: add popupmenu black theme support
Tack on some more themes to make popupmenu styles follow the new black theme introduced in 68bdd0.
This commit is contained in:
@@ -66,7 +66,7 @@ class AccentAdapter(
|
||||
selectedViewHolder?.setSelected(false)
|
||||
selectedViewHolder = this
|
||||
|
||||
R.color.background.toStateList(context)
|
||||
R.color.surface_color.toStateList(context)
|
||||
} else {
|
||||
android.R.color.transparent.toStateList(context)
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ abstract class LifecycleDialog : AppCompatDialogFragment() {
|
||||
|
||||
// Setting the background in XML will also apply it to the tooltip for some inane reason
|
||||
// so we have to do it programmatically instead.
|
||||
builder.background = R.color.background.toDrawable(requireContext())
|
||||
builder.background = R.color.surface_color.toDrawable(requireContext())
|
||||
|
||||
onConfigDialog(builder)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user