mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-25 07:08:30 +01:00
Simplify account notification management
This commit is contained in:
@@ -770,9 +770,9 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
|
||||
account.id = db.account().insertAccount(account);
|
||||
Log.i("Imported account=" + account.name);
|
||||
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O)
|
||||
if (account.notify)
|
||||
account.createNotificationChannel(context);
|
||||
account.deleteNotificationChannel(context);
|
||||
if (account.notify)
|
||||
account.createNotificationChannel(context);
|
||||
|
||||
JSONArray jidentities = (JSONArray) jaccount.get("identities");
|
||||
for (int i = 0; i < jidentities.length(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user