Merge pull request #4796 from nextcloud/datepicker

Theming: Fix date picker button text colour
This commit is contained in:
Tobias Kaminsky authored and GitHub committed 2019-11-05 20:10:13 +01:00
commit d208681fed
1 file changed
+3 -3
@@ -142,9 +142,9 @@ public class ExpirationDatePickerDialogFragment
});
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();