mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
this fixes the background color that is set behind github icon when there is no image in avatar layout.
This commit is contained in:
parent
5b697ba649
commit
608e7f1ae9
@ -85,6 +85,7 @@ public class AvatarLayout extends FrameLayout implements ImageLoadingListener {
|
||||
|
||||
@Override public void onLoadingFailed(String imageUri, View view, FailReason failReason) {
|
||||
avatar.setImageResource(R.drawable.ic_github_black);
|
||||
setBackgroundColor(Color.TRANSPARENT);
|
||||
}
|
||||
|
||||
@Override public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user