Remove legacy keyword colors

This commit is contained in:
M66B 2024-04-29 18:10:24 +02:00
parent d9b06148b0
commit 13ff382ba4
1 changed files with 2 additions and 0 deletions

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));
}