mirror of
https://github.com/MGislv/NekoX.git
synced 2024-07-02 10:33:36 +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);
|
// 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) {
|
if (drawPremium && drawPremiumProgress != 1f) {
|
||||||
drawPremiumProgress += 16 / 220f;
|
drawPremiumProgress += 16 / 220f;
|
||||||
} else if (!drawPremium && drawPremiumProgress != 0) {
|
} else if (!drawPremium && drawPremiumProgress != 0) {
|
||||||
|
@ -442,6 +443,7 @@ public class DrawerProfileCell extends FrameLayout implements NotificationCenter
|
||||||
}
|
}
|
||||||
invalidate();
|
invalidate();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (snowflakesEffect != null) {
|
if (snowflakesEffect != null) {
|
||||||
snowflakesEffect.onDraw(this, canvas);
|
snowflakesEffect.onDraw(this, canvas);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user