Colors fix
This commit is contained in:
parent
fb2a3edb19
commit
18ce71167b
2 changed files with 1 additions and 2 deletions
|
@ -329,7 +329,7 @@ public class AndroidUtils {
|
||||||
},
|
},
|
||||||
new int[] {
|
new int[] {
|
||||||
Color.GRAY,
|
Color.GRAY,
|
||||||
ContextCompat.getColor(ctx, night? R.color.active_color_primary_light : R.color.active_color_primary_dark),
|
ContextCompat.getColor(ctx, night? R.color.active_color_primary_dark : R.color.active_color_primary_light),
|
||||||
Color.GRAY}
|
Color.GRAY}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,7 +150,6 @@ public class ElevationDateBottomSheet extends MenuBottomSheetDialogFragment {
|
||||||
private void createReliefFactorButtons(Context context) {
|
private void createReliefFactorButtons(Context context) {
|
||||||
for (int i = 0; i < parameters.size(); i++) {
|
for (int i = 0; i < parameters.size(); i++) {
|
||||||
RoutingParameter parameter = parameters.get(i);
|
RoutingParameter parameter = parameters.get(i);
|
||||||
boolean nightMode = app.getDaynightHelper().isNightModeForMapControls();
|
|
||||||
final BottomSheetItemWithCompoundButton[] preferenceItem = new BottomSheetItemWithCompoundButton[1];
|
final BottomSheetItemWithCompoundButton[] preferenceItem = new BottomSheetItemWithCompoundButton[1];
|
||||||
preferenceItem[0] = (BottomSheetItemWithCompoundButton) new BottomSheetItemWithCompoundButton.Builder()
|
preferenceItem[0] = (BottomSheetItemWithCompoundButton) new BottomSheetItemWithCompoundButton.Builder()
|
||||||
.setChecked(i == selectedEntryIndex)
|
.setChecked(i == selectedEntryIndex)
|
||||||
|
|
Loading…
Reference in a new issue