Skip to content

Commit

Permalink
fix spinner style
Browse files Browse the repository at this point in the history
  • Loading branch information
newhinton committed Sep 15, 2024
1 parent 7696bfe commit b2398e2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ class FilterSpinnerAdapter(context: Context, resource: Int, objects: List<String

// Set special styling for "No Filter" option
if (getItem(position) == context.getString(R.string.task_edit_filter_nofilter)) {
textView.setTextColor(ContextCompat.getColor(context, android.R.color.white))
textView.setTypeface(null, Typeface.BOLD)
textView.setTextColor(ContextCompat.getColor(context, R.color.textColorTertiary))
textView.setTypeface(null, Typeface.ITALIC)
} else {
textView.setTextColor(ContextCompat.getColor(context, android.R.color.white))
textView.setTypeface(null, Typeface.NORMAL)
}

Expand Down

0 comments on commit b2398e2

Please sign in to comment.