Theming: Fix date picker button text colour

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
This commit is contained in:
Daniel Bailey 2019-11-04 14:47:40 +00:00
parent 207f8947cf
commit b0563b9310
No known key found for this signature in database
GPG key ID: CFF0B83BD28D4CE0

View file

@ -142,9 +142,9 @@ public class ExpirationDatePickerDialogFragment
}); });
dialog.show(); dialog.show();
dialog.getButton(DatePickerDialog.BUTTON_NEUTRAL).setTextColor(ThemeUtils.primaryColor(getContext())); dialog.getButton(DatePickerDialog.BUTTON_NEUTRAL).setTextColor(ThemeUtils.primaryColor(getContext(), true));
dialog.getButton(DatePickerDialog.BUTTON_NEGATIVE).setTextColor(ThemeUtils.primaryColor(getContext())); dialog.getButton(DatePickerDialog.BUTTON_NEGATIVE).setTextColor(ThemeUtils.primaryColor(getContext(), true));
dialog.getButton(DatePickerDialog.BUTTON_POSITIVE).setTextColor(ThemeUtils.primaryColor(getContext())); dialog.getButton(DatePickerDialog.BUTTON_POSITIVE).setTextColor(ThemeUtils.primaryColor(getContext(), true));
// Prevent days in the past may be chosen // Prevent days in the past may be chosen
DatePicker picker = dialog.getDatePicker(); DatePicker picker = dialog.getDatePicker();