Commit 3b24532e authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update RocketChatAvatar.java

parent d794b5b8
......@@ -35,14 +35,11 @@ public class RocketChatAvatar extends FrameLayout {
}
private void initialize(Context context, AttributeSet attrs) {
LayoutInflater
.from(context)
.inflate(R.layout.message_avatar, this, true);
LayoutInflater.from(context).inflate(R.layout.message_avatar, this, true);
draweeView = findViewById(R.id.drawee_avatar);
}
public void loadImage(String imageUri) {
FrescoHelper
.loadImage(draweeView, imageUri);
FrescoHelper.loadImage(draweeView, imageUri);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment