Skip to content

Commit

Permalink
Merge pull request #4796 from nextcloud/datepicker
Browse files Browse the repository at this point in the history
Theming: Fix date picker button text colour
  • Loading branch information
tobiasKaminsky authored Nov 5, 2019
2 parents 7a8aee3 + b0563b9 commit d208681
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ public Dialog onCreateDialog(Bundle savedInstanceState) {
});

dialog.show();
dialog.getButton(DatePickerDialog.BUTTON_NEUTRAL).setTextColor(ThemeUtils.primaryColor(getContext()));
dialog.getButton(DatePickerDialog.BUTTON_NEGATIVE).setTextColor(ThemeUtils.primaryColor(getContext()));
dialog.getButton(DatePickerDialog.BUTTON_POSITIVE).setTextColor(ThemeUtils.primaryColor(getContext()));
dialog.getButton(DatePickerDialog.BUTTON_NEUTRAL).setTextColor(ThemeUtils.primaryColor(getContext(), true));
dialog.getButton(DatePickerDialog.BUTTON_NEGATIVE).setTextColor(ThemeUtils.primaryColor(getContext(), true));
dialog.getButton(DatePickerDialog.BUTTON_POSITIVE).setTextColor(ThemeUtils.primaryColor(getContext(), true));

// Prevent days in the past may be chosen
DatePicker picker = dialog.getDatePicker();
Expand Down

0 comments on commit d208681

Please sign in to comment.