Skip to content

Commit 8336358

Browse files
committed
refactor: make the spinner caret button match the text color
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
1 parent b0081cb commit 8336358

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libcore/ui/src/main/java/io/github/muntashirakon/widget/MaterialSpinner.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public MaterialSpinner(@NonNull Context context, @Nullable AttributeSet attrs, i
3939
mAutoCompleteTextView.setInputType(EditorInfo.TYPE_NULL);
4040
mAutoCompleteTextView.setKeyListener(null);
4141
mAutoCompleteTextView.setFocusable(false);
42+
setEndIconTintList(mAutoCompleteTextView.getTextColors());
4243
setEndIconMode(END_ICON_DROPDOWN_MENU);
4344
TextInputLayoutCompat.fixEndIcon(this);
4445
}

0 commit comments

Comments
 (0)