Improved avatar/identicon caching

This commit is contained in:
M66B
2019-01-26 09:58:37 +00:00
parent 43b63af4b9
commit 2b6a426012
4 changed files with 118 additions and 145 deletions

View File

@@ -240,6 +240,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("avatars", checked).apply();
ContactInfo.clearCache();
}
});
@@ -247,6 +248,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("identicons", checked).apply();
ContactInfo.clearCache();
}
});