mirror of https://github.com/M66B/FairEmail.git
Remove legacy keyword colors
This commit is contained in:
parent
d9b06148b0
commit
13ff382ba4
|
@ -229,6 +229,8 @@ public class AdapterKeyword extends RecyclerView.Adapter<AdapterKeyword.ViewHold
|
||||||
else
|
else
|
||||||
prefs.edit().putInt(key, keyword.color).apply();
|
prefs.edit().putInt(key, keyword.color).apply();
|
||||||
|
|
||||||
|
prefs.edit().remove("keyword." + keyword.name);
|
||||||
|
|
||||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
||||||
lbm.sendBroadcast(new Intent(FragmentMessages.ACTION_KEYWORDS));
|
lbm.sendBroadcast(new Intent(FragmentMessages.ACTION_KEYWORDS));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue