mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-03 13:50:18 +01:00
Fix avatar
This commit is contained in:
parent
ec2e7f4d56
commit
271b1e9c2d
@ -1334,6 +1334,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
BackupImageView imageView = new BackupImageView(context);
|
||||
imageView.setRoundRadius(AndroidUtilities.dp(20));
|
||||
frameLayout.addView(imageView, LayoutHelper.createFrame(40, 40, (LocaleController.isRTL ? Gravity.RIGHT : Gravity.LEFT) | Gravity.TOP, 22, 5, 22, 0));
|
||||
avatarDrawable.setInfo(currentChat);
|
||||
imageView.setImage(ImageLocation.getForChat(currentChat, false), "50_50", avatarDrawable, currentChat);
|
||||
TextView textView = new TextView(context);
|
||||
textView.setTextColor(Theme.getColor(Theme.key_actionBarDefaultSubmenuItem));
|
||||
|
Loading…
Reference in New Issue
Block a user