mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 08:01:50 +01:00
Added option to leave new message notifications
This commit is contained in:
@@ -293,6 +293,11 @@ public class ServiceUI extends IntentService {
|
||||
}
|
||||
|
||||
private void onIgnore(long id) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
boolean notify_remove = prefs.getBoolean("notify_remove", true);
|
||||
if (!notify_remove)
|
||||
return;
|
||||
|
||||
DB db = DB.getInstance(this);
|
||||
try {
|
||||
db.beginTransaction();
|
||||
|
||||
Reference in New Issue
Block a user