Fix nightMode for add point dialog
This commit is contained in:
parent
c87bd1f60a
commit
7b86c16cf8
3 changed files with 2 additions and 2 deletions
|
@ -1620,6 +1620,7 @@ public class ShowRouteInfoDialogFragment extends BaseOsmAndFragment {
|
|||
icon.setImageDrawable(drawable);
|
||||
|
||||
label.setText(model.getDescriptionRoutePart());
|
||||
AndroidUtils.setTextPrimaryColor(app, label, nightMode);
|
||||
if (model.distance > 0) {
|
||||
distanceLabel.setText(OsmAndFormatter.getFormattedDistance(model.distance, app));
|
||||
timeLabel.setText(getTimeDescription(model));
|
||||
|
|
|
@ -1357,7 +1357,6 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
|||
args.putString(AddPointBottomSheetDialog.POINT_TYPE_KEY, pointType.name());
|
||||
AddPointBottomSheetDialog fragment = new AddPointBottomSheetDialog();
|
||||
fragment.setArguments(args);
|
||||
fragment.setUsedOnMap(false);
|
||||
fragment.show(mapActivity.getSupportFragmentManager(), AddPointBottomSheetDialog.TAG);
|
||||
}
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ public class RouteStatisticCard extends BaseCard {
|
|||
|
||||
private void buildHeader(GPXUtilities.GPXTrackAnalysis analysis) {
|
||||
final LineChart mChart = (LineChart) view.findViewById(R.id.chart);
|
||||
GpxUiHelper.setupGPXChart(app, mChart, 4);
|
||||
GpxUiHelper.setupGPXChart(mChart, 4, 24f, 16f, !nightMode, true);
|
||||
mChart.setOnTouchListener(onTouchListener);
|
||||
|
||||
if (analysis.hasElevationData) {
|
||||
|
|
Loading…
Reference in a new issue