mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Check identity email address, small fixes
This commit is contained in:
@@ -171,7 +171,7 @@ public class FragmentFolder extends FragmentEx {
|
||||
keep_days = sync_days;
|
||||
|
||||
boolean reload;
|
||||
DB db = DB.getInstance(getContext());
|
||||
DB db = DB.getInstance(context);
|
||||
try {
|
||||
db.beginTransaction();
|
||||
|
||||
@@ -233,7 +233,7 @@ public class FragmentFolder extends FragmentEx {
|
||||
}
|
||||
|
||||
if (reload)
|
||||
ServiceSynchronize.reload(getContext(), "save folder");
|
||||
ServiceSynchronize.reload(context, "save folder");
|
||||
|
||||
return null;
|
||||
}
|
||||
@@ -308,7 +308,7 @@ public class FragmentFolder extends FragmentEx {
|
||||
protected Void onLoad(Context context, Bundle args) {
|
||||
long id = args.getLong("id");
|
||||
|
||||
DB db = DB.getInstance(getContext());
|
||||
DB db = DB.getInstance(context);
|
||||
int count = db.operation().getOperationCount(id, null);
|
||||
if (count > 0)
|
||||
throw new IllegalArgumentException(
|
||||
@@ -316,7 +316,7 @@ public class FragmentFolder extends FragmentEx {
|
||||
R.plurals.title_notification_operations, count, count));
|
||||
db.folder().setFolderTbd(id);
|
||||
|
||||
ServiceSynchronize.reload(getContext(), "delete folder");
|
||||
ServiceSynchronize.reload(context, "delete folder");
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user