From f96865c2cb4c66cc2e676e765f1bae18113eb279 Mon Sep 17 00:00:00 2001 From: d8ahazard Date: Thu, 15 Sep 2016 15:47:23 -0500 Subject: [PATCH] Remove unneeded lines --- app/src/main/java/com/topjohnwu/magisk/ReposAdapter.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/ReposAdapter.java b/app/src/main/java/com/topjohnwu/magisk/ReposAdapter.java index 26f136e66..b9b86ca78 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ReposAdapter.java +++ b/app/src/main/java/com/topjohnwu/magisk/ReposAdapter.java @@ -120,10 +120,7 @@ public class ReposAdapter extends RecyclerView.Adapter String logUrl = repo.getmLogUrl(); String supportUrl = repo.getmSupportUrl(); String donateUrl = repo.getmDonateUrl(); - if (supportUrl.equals("")) mHolder.supportLink.setBackgroundColor(Color.GRAY); - if (logUrl.equals("")) mHolder.changeLog.setBackgroundColor(Color.GRAY); - if (donateUrl.equals("")) mHolder.authorLink.setBackgroundColor(Color.GRAY); - if (prefs.contains("ignoreUpdateAlerts")) { + if (prefs.contains("ignoreUpdateAlerts")) { ignoreAlertUpdate = prefs.getBoolean("ignoreUpdateAlerts",false); } mHolder.installedStatus.setText(repo.isInstalled() ? this.context.getResources().getString(R.string.module_installed) : this.context.getResources().getString(R.string.module_not_installed));