1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Reset auto importance

This commit is contained in:
M66B 2020-04-14 16:22:31 +02:00
parent 6395d92bfd
commit c54e222319

View file

@ -126,8 +126,8 @@ public class EntityOperation {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean auto_important = prefs.getBoolean("auto_important", false); boolean auto_important = prefs.getBoolean("auto_important", false);
if (auto_important && flagged) if (auto_important)
db.message().setMessageImportance(message.id, 2); db.message().setMessageImportance(message.id, flagged ? 2 : null);
return; return;