Remove unneeded lines
This commit is contained in:
parent
e475893fd7
commit
f96865c2cb
@ -120,10 +120,7 @@ public class ReposAdapter extends RecyclerView.Adapter<ReposAdapter.ViewHolder>
|
|||||||
String logUrl = repo.getmLogUrl();
|
String logUrl = repo.getmLogUrl();
|
||||||
String supportUrl = repo.getmSupportUrl();
|
String supportUrl = repo.getmSupportUrl();
|
||||||
String donateUrl = repo.getmDonateUrl();
|
String donateUrl = repo.getmDonateUrl();
|
||||||
if (supportUrl.equals("")) mHolder.supportLink.setBackgroundColor(Color.GRAY);
|
if (prefs.contains("ignoreUpdateAlerts")) {
|
||||||
if (logUrl.equals("")) mHolder.changeLog.setBackgroundColor(Color.GRAY);
|
|
||||||
if (donateUrl.equals("")) mHolder.authorLink.setBackgroundColor(Color.GRAY);
|
|
||||||
if (prefs.contains("ignoreUpdateAlerts")) {
|
|
||||||
ignoreAlertUpdate = prefs.getBoolean("ignoreUpdateAlerts",false);
|
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));
|
mHolder.installedStatus.setText(repo.isInstalled() ? this.context.getResources().getString(R.string.module_installed) : this.context.getResources().getString(R.string.module_not_installed));
|
||||||
|
Loading…
Reference in New Issue
Block a user