Fix color of close button on normal reminders.

This change also prevents the title from overlapping with the close
button.
This commit is contained in:
Rashad Sookram
2021-12-08 13:31:34 -05:00
committed by Cody Henthorne
parent 6c608e955e
commit c16115f71a
2 changed files with 6 additions and 1 deletions

View File

@@ -117,6 +117,10 @@ public final class ReminderView extends FrameLayout {
}
});
if (reminder.getImportance() == Reminder.Importance.NORMAL) {
closeButton.setColorFilter(ContextCompat.getColor(getContext(), R.color.signal_text_primary));
}
int progress = reminder.getProgress();
if (progress != -1) {
progressBar.setProgress(progress);