mirror of
https://github.com/MGislv/NekoX.git
synced 2024-06-30 10:14:04 +00:00
fix: large avatar in drawer
This commit is contained in:
parent
eab8088cae
commit
5f9c66e5be
|
@ -419,6 +419,7 @@ public class DrawerProfileCell extends FrameLayout implements NotificationCenter
|
|||
// canvas.drawCircle(darkThemeView.getX() + darkThemeView.getMeasuredWidth() / 2, darkThemeView.getY() + darkThemeView.getMeasuredHeight() / 2, AndroidUtilities.dp(17), backPaint);
|
||||
// }
|
||||
// }
|
||||
if(NekoConfig.largeAvatarInDrawer.Int() == 0) {
|
||||
if (drawPremium && drawPremiumProgress != 1f) {
|
||||
drawPremiumProgress += 16 / 220f;
|
||||
} else if (!drawPremium && drawPremiumProgress != 0) {
|
||||
|
@ -442,6 +443,7 @@ public class DrawerProfileCell extends FrameLayout implements NotificationCenter
|
|||
}
|
||||
invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
if (snowflakesEffect != null) {
|
||||
snowflakesEffect.onDraw(this, canvas);
|
||||
|
|
Loading…
Reference in New Issue
Block a user