1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 17:27:00 +00:00

Remove legacy keyword colors

This commit is contained in:
M66B 2024-04-29 18:10:24 +02:00
parent d9b06148b0
commit 13ff382ba4

View file

@ -229,6 +229,8 @@ public class AdapterKeyword extends RecyclerView.Adapter<AdapterKeyword.ViewHold
else
prefs.edit().putInt(key, keyword.color).apply();
prefs.edit().remove("keyword." + keyword.name);
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
lbm.sendBroadcast(new Intent(FragmentMessages.ACTION_KEYWORDS));
}