Removed public identicons

This commit is contained in:
M66B 2019-04-28 10:15:37 +02:00
parent b2a820f932
commit d0e17641b1
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -741,6 +741,7 @@ 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));