1
0
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:
Next Alone 2022-07-07 04:55:04 +08:00 committed by luvletter2333
parent eab8088cae
commit 5f9c66e5be
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -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);