mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Added uuid to rules
This commit is contained in:
@@ -1184,6 +1184,10 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
Log.e(ex);
|
||||
}
|
||||
|
||||
EntityRule existing = db.rule().getRuleByUUID(rule.uuid);
|
||||
if (existing != null)
|
||||
db.rule().deleteRule(existing.id);
|
||||
|
||||
db.rule().insertRule(rule);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user