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));