From 696afebfbeb7c6853503ebac087501c80779aa0f Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 12 Oct 2019 09:02:31 +0200 Subject: [PATCH] Clear contact info cache on theme switch --- app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java b/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java index 321143c7cd..a662163f3b 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsDisplay.java @@ -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();