Revert "Removed public identicons"

This reverts commit d0e17641b1.
This commit is contained in:
M66B 2019-04-28 15:17:18 +02:00
parent 4e26fa1577
commit ea004bfd36
2 changed files with 1 additions and 2 deletions

View File

@ -146,7 +146,7 @@ public class ContactInfo {
boolean dark = !"light".equals(tv.string);
boolean identicons = prefs.getBoolean("identicons", false);
if (identicons && BuildConfig.DEBUG)
if (identicons)
info.bitmap = Identicon.icon(key, dp, 5, dark);
else
info.bitmap = Identicon.letter(key, dp, dark);

View File

@ -741,7 +741,6 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
swThreading.setChecked(prefs.getBoolean("threading", true));
swAvatars.setChecked(prefs.getBoolean("avatars", true));
swIdenticons.setChecked(prefs.getBoolean("identicons", false));
swIdenticons.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
swCircular.setChecked(prefs.getBoolean("circular", true));
swNameEmail.setChecked(prefs.getBoolean("name_email", !compact));
swSubjectItalic.setChecked(prefs.getBoolean("subject_italic", true));