From ddc79e8e14c6b4356309c8c3ec003b3f5611d90e Mon Sep 17 00:00:00 2001 From: NekoInverter <42698724+NekoInverter@users.noreply.github.com> Date: Thu, 5 Mar 2020 18:28:39 +0800 Subject: [PATCH] Add back installed color --- .../java/org/meowcat/edxposed/manager/DownloadActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/meowcat/edxposed/manager/DownloadActivity.java b/app/src/main/java/org/meowcat/edxposed/manager/DownloadActivity.java index 1e638dd6..9ca397c1 100644 --- a/app/src/main/java/org/meowcat/edxposed/manager/DownloadActivity.java +++ b/app/src/main/java/org/meowcat/edxposed/manager/DownloadActivity.java @@ -346,8 +346,8 @@ public class DownloadActivity extends BaseActivity implements RepoLoader.RepoLis } else if (isInstalled) { txtStatus.setText(mContext.getString( R.string.download_status_installed, installedVersion)); - //txtStatus.setTextColor(ThemeUtil.getThemeColor(mContext, R.attr.download_status_installed)); - TypedArray typedArray = DownloadActivity.this.getTheme().obtainStyledAttributes(new int[]{android.R.attr.textColorSecondary}); + txtStatus.setTextColor(getResources().getColor(R.color.warning)); + TypedArray typedArray = DownloadActivity.this.getTheme().obtainStyledAttributes(new int[]{android.R.attr.textColorHighlight}); int textColor = typedArray.getColor(0, 0); typedArray.recycle(); txtStatus.setTextColor(textColor);