1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Clear contact info cache on theme switch

This commit is contained in:
M66B 2019-10-12 09:02:31 +02:00
parent ef2dff7082
commit 696afebfbe

View file

@ -484,6 +484,8 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
public void onCheckedChanged(RadioGroup group, int checkedId) {
getActivity().getIntent().putExtra("tab", "display");
ContactInfo.clearCache();
switch (checkedId) {
case R.id.rbThemeLight:
prefs.edit().putString("theme", "light").apply();