Skip to content

Commit

Permalink
Fix #20738
Browse files Browse the repository at this point in the history
  • Loading branch information
Chumva committed Feb 10, 2025
1 parent c30b4c8 commit 3d54a24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OsmAnd/res/layout/context_menu_action_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/text_color_secondary_light"
android:textColor="?android:attr/textColorSecondary"
android:textSize="@dimen/default_desc_text_size"
android:textStyle="normal" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,9 @@ private void recycleVelocityTracker() {

((TextView) view.findViewById(R.id.context_menu_line1))
.setTextColor(ColorUtilities.getPrimaryTextColor(mapActivity, nightMode));
View menuLine2 = view.findViewById(R.id.context_menu_line2);
TextView menuLine2 = view.findViewById(R.id.context_menu_line2);
if (menuLine2 != null) {
((TextView) menuLine2).setTextColor(ContextCompat.getColor(mapActivity, R.color.text_color_secondary_light));
menuLine2.setTextColor(ColorUtilities.getSecondaryTextColor(view.getContext(), nightMode));
}
((TextView) view.findViewById(R.id.distance)).setTextColor(ContextCompat.getColor(mapActivity,
nightMode ? R.color.icon_color_active_dark : R.color.icon_color_active_light));
Expand Down

0 comments on commit 3d54a24

Please sign in to comment.