Require the user to pick a display name

This commit is contained in:
Niels Andriesse
2019-10-11 13:37:56 +11:00
parent b425929da6
commit 48d282a864
8 changed files with 22 additions and 23 deletions

View File

@@ -100,7 +100,7 @@ public class ProfilePreference extends Preference {
int height = avatarView.getHeight();
if (width == 0 || height == 0) return true;
avatarView.getViewTreeObserver().removeOnPreDrawListener(this);
JazzIdenticonDrawable identicon = new JazzIdenticonDrawable(width, height, userHexEncodedPublicKey);
JazzIdenticonDrawable identicon = new JazzIdenticonDrawable(width, height, userHexEncodedPublicKey.toLowerCase());
avatarView.setImageDrawable(identicon);
return true;
}