mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 16:10:58 +01:00
Reset auto importance
This commit is contained in:
@@ -126,8 +126,8 @@ public class EntityOperation {
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean auto_important = prefs.getBoolean("auto_important", false);
|
||||
if (auto_important && flagged)
|
||||
db.message().setMessageImportance(message.id, 2);
|
||||
if (auto_important)
|
||||
db.message().setMessageImportance(message.id, flagged ? 2 : null);
|
||||
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user