Fix dark theme date time pickers on pre-M devices

pull/384/head 4.8.2
Alex Baker 9 years ago
parent 30cc2644d5
commit e43306fa4f

@ -27,7 +27,7 @@ android {
buildToolsVersion "23.0.2"
defaultConfig {
versionCode 382
versionCode 383
versionName "4.8.2"
minSdkVersion 14
targetSdkVersion 23

@ -300,7 +300,7 @@ public class DeadlineControlSet extends TaskEditControlSetBase {
}
});
if (preferences.isDarkTheme()) {
dialog.setAccentColor(activity.getColor(R.color.black_text_hint));
dialog.setAccentColor(activity.getResources().getColor(R.color.black_text_hint));
}
dialog.show(activity.getFragmentManager(), FRAG_TAG_PICK_A_DATE);
break;
@ -356,7 +356,7 @@ public class DeadlineControlSet extends TaskEditControlSetBase {
}
});
if (preferences.isDarkTheme()) {
dialog.setAccentColor(activity.getColor(R.color.black_text_hint));
dialog.setAccentColor(activity.getResources().getColor(R.color.black_text_hint));
}
dialog.show(activity.getFragmentManager(), FRAG_TAG_PICK_A_TIME);
break;

Loading…
Cancel
Save