Fix material spinner view popup not changing the selection for enum prefs

This commit is contained in:
Jays2Kings 2021-04-06 21:24:34 -04:00
parent 3956a4b2dc
commit 3492117cb1

View File

@ -190,6 +190,7 @@ class MaterialSpinnerView @JvmOverloads constructor(context: Context, attrs: Att
popup.menu[selectedPosition].title =
popup.menu[selectedPosition].title?.tintText(context.getResourceColor(android.R.attr.colorAccent))
this.popup = popup
return popup
}