fix Dark theme -> Route preparation -> Start button text and icon color during route calculating
This commit is contained in:
parent
30097c2249
commit
d6c1d76dca
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue