Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/base/home/PanelAuthLayout.java

Issue 29341383: Issue 2606 - Firefox logo shown in background on empty Adblock Browser New Tab and Search pages (Closed)
Patch Set: Adjustments in comments Created Nov. 21, 2016, 12:59 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mobile/android/base/home/PanelLayout.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/base/home/PanelAuthLayout.java
===================================================================
--- a/mobile/android/base/home/PanelAuthLayout.java
+++ b/mobile/android/base/home/PanelAuthLayout.java
@@ -49,16 +49,17 @@ class PanelAuthLayout extends LinearLayo
}
});
final ImageView imageView = (ImageView) findViewById(R.id.image);
final String imageUrl = authConfig.getImageUrl();
if (TextUtils.isEmpty(imageUrl)) {
// Use a default image if an image URL isn't specified.
- imageView.setImageResource(R.drawable.icon_home_empty_firefox);
+ // Changed icon. See https://issues.adblockplus.org/ticket/2606
+ imageView.setImageResource(R.drawable.abb_icon_home_empty);
} else {
ImageLoader.with(getContext())
.load(imageUrl)
.into(imageView);
}
}
}
« no previous file with comments | « no previous file | mobile/android/base/home/PanelLayout.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld