Add @ to username in preferences.

This commit is contained in:
Alex Hart 2020-08-27 16:34:21 -03:00
parent 48dc4eac10
commit e12acbae70

View File

@ -79,6 +79,6 @@ public class ProfilePreference extends Preference {
profileNameView.setText(profileName);
}
profileSubtextView.setText(self.getUsername().or(self.getE164()).orNull());
profileSubtextView.setText(self.getUsername().transform(username -> "@" + username).or(self.getE164()).orNull());
}
}