fix: drawer avatar background

Co-authored-by: tehcneko <chsqwyx@gmail.com>
This commit is contained in:
xtaodada 2023-01-14 16:16:20 +08:00
parent d7f537fb47
commit 2a0caa9a5d
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -130,6 +130,7 @@ public class DrawerProfileCell extends FrameLayout implements NotificationCenter
imageReceiver = new ImageReceiver(this);
imageReceiver.setCrossfadeWithOldImage(true);
imageReceiver.setForceCrossfade(true);
imageReceiver.setCrossfadeByScale(0f);
imageReceiver.setDelegate((imageReceiver, set, thumb, memCache) -> {
if (NekoConfig.avatarBackgroundDarken.Bool() || NekoConfig.avatarBackgroundBlur.Bool()) {
if (thumb || allowInvalidate) {