mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
(Bug 45401) Fix crash in older versions of Android
This commit is contained in:
parent
d2ab678f23
commit
e05f55dbff
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ public class ContributionsListFragment extends SherlockFragment {
|
|||
if(actualImageDrawable != null && actualImageDrawable.getBitmap() != null && actualImageDrawable.getBitmap().hasAlpha()) {
|
||||
views.imageView.setBackgroundResource(android.R.color.white);
|
||||
} else {
|
||||
views.imageView.setBackground(null);
|
||||
views.imageView.setBackgroundDrawable(null);
|
||||
}
|
||||
|
||||
views.titleView.setText(Utils.displayTitleFromTitle(contribution.getFilename()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue