Fix text color of list items from "Builds" screen

This commit is contained in:
Nazar 2020-02-19 13:40:32 +02:00
parent 2744ca8927
commit 32b4623d16
2 changed files with 1 additions and 3 deletions

View file

@ -13,7 +13,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"/>
<TextView
@ -23,7 +22,6 @@
android:layout_gravity="center_vertical"
android:layout_width="90dp"
android:maxLines="2"
android:textColor="?android:textColorSecondary"
android:layout_height="wrap_content"
android:textSize="@dimen/default_desc_text_size"/>

View file

@ -264,7 +264,7 @@ public class ContributionVersionActivity extends OsmandListActivity {
StringBuilder format = new StringBuilder();
format.append(AndroidUtils.formatDateTime(getMyApplication(), build.date.getTime()))/*.append(" : ").append(build.size).append(" MB")*/;
description.setText(format.toString());
int color = getResources().getColor(R.color.color_unknown);
int color = getResources().getColor(R.color.text_color_secondary_dark);
if (currentInstalledDate != null) {
if (currentInstalledDate.before(build.date)) {
color = getResources().getColor(R.color.color_update);