From 3492117cb17f13ff982f66d50ea78377e2912ebc Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Tue, 6 Apr 2021 21:24:34 -0400 Subject: [PATCH] Fix material spinner view popup not changing the selection for enum prefs --- .../main/java/eu/kanade/tachiyomi/widget/MaterialSpinnerView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/widget/MaterialSpinnerView.kt b/app/src/main/java/eu/kanade/tachiyomi/widget/MaterialSpinnerView.kt index b8c79aed6a..03de3d7ffe 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/widget/MaterialSpinnerView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/widget/MaterialSpinnerView.kt @@ -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 }