fix: drawer avatar background
Co-authored-by: tehcneko <chsqwyx@gmail.com>
This commit is contained in:
parent
d7f537fb47
commit
2a0caa9a5d
@ -130,6 +130,7 @@ public class DrawerProfileCell extends FrameLayout implements NotificationCenter
|
|||||||
imageReceiver = new ImageReceiver(this);
|
imageReceiver = new ImageReceiver(this);
|
||||||
imageReceiver.setCrossfadeWithOldImage(true);
|
imageReceiver.setCrossfadeWithOldImage(true);
|
||||||
imageReceiver.setForceCrossfade(true);
|
imageReceiver.setForceCrossfade(true);
|
||||||
|
imageReceiver.setCrossfadeByScale(0f);
|
||||||
imageReceiver.setDelegate((imageReceiver, set, thumb, memCache) -> {
|
imageReceiver.setDelegate((imageReceiver, set, thumb, memCache) -> {
|
||||||
if (NekoConfig.avatarBackgroundDarken.Bool() || NekoConfig.avatarBackgroundBlur.Bool()) {
|
if (NekoConfig.avatarBackgroundDarken.Bool() || NekoConfig.avatarBackgroundBlur.Bool()) {
|
||||||
if (thumb || allowInvalidate) {
|
if (thumb || allowInvalidate) {
|
||||||
|
Loading…
Reference in New Issue
Block a user