From d6c1d76dca7885ead497c129c5fba6ed2ddb9649 Mon Sep 17 00:00:00 2001 From: Nazar Date: Thu, 12 Sep 2019 11:48:30 +0300 Subject: [PATCH] fix Dark theme -> Route preparation -> Start button text and icon color during route calculating --- .../osmand/plus/routepreparationmenu/MapRouteInfoMenu.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java index d79f77b93a..992ca8b903 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java @@ -966,10 +966,10 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener color2 = color1; } } else { - color1 = nightMode ? R.color.active_buttons_and_links_text_disabled_dark : R.color.active_buttons_and_links_text_light; + color1 = nightMode ? R.color.active_buttons_and_links_text_dark : R.color.active_buttons_and_links_text_light; if (routeCalculated) { AndroidUtils.setBackground(app, startButton, nightMode, R.color.active_color_primary_light, R.color.active_color_primary_dark); - color2 = nightMode ? R.color.active_buttons_and_links_text_dark : R.color.active_buttons_and_links_text_light; + color2 = color1; } else { AndroidUtils.setBackground(app, startButton, nightMode, R.color.activity_background_light, R.color.activity_background_dark); color2 = R.color.description_font_and_bottom_sheet_icons;