Fix disabled button color

This commit is contained in:
PavelRatushny 2017-12-29 11:32:01 +02:00
parent c9eaea91b9
commit e4341eb787

View file

@ -573,7 +573,7 @@ public abstract class MenuController extends BaseMenuController {
if (enabled) { if (enabled) {
colorRes = isLight() ? R.color.map_widget_blue : R.color.osmand_orange; colorRes = isLight() ? R.color.map_widget_blue : R.color.osmand_orange;
} else { } else {
colorRes = isLight() ? R.color.ctx_menu_controller_disabled_text_color_dark : R.color.ctx_menu_controller_disabled_text_color_light; colorRes = isLight() ? R.color.ctx_menu_controller_disabled_text_color_light : R.color.ctx_menu_controller_disabled_text_color_dark;
} }
return colorRes; return colorRes;
} }