Skip to content

Commit

Permalink
fix wrong color in filter selector
Browse files Browse the repository at this point in the history
  • Loading branch information
newhinton committed Feb 9, 2025
1 parent ab51788 commit 399e476
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ 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.BOLD_ITALIC)
} else {
textView.setTextColor(ContextCompat.getColor(context, android.R.color.white))
textView.setTextColor(ContextCompat.getColor(context, R.color.textColorPrimary))
textView.setTypeface(null, Typeface.NORMAL)
}

Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/content_task.xml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@
android:id="@+id/description_exclude"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/task_edit_description_filter" />

<Switch
Expand Down

0 comments on commit 399e476

Please sign in to comment.