mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 09:31:11 +01:00
Added dialog life cycle
This commit is contained in:
@@ -496,7 +496,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
else
|
||||
Helper.unexpectedError(getFragmentManager(), ex);
|
||||
}
|
||||
}.execute(FragmentAccount.this, args, "account:config");
|
||||
}.execute(this, args, "account:config");
|
||||
}
|
||||
|
||||
private void onCheck() {
|
||||
@@ -693,7 +693,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
else
|
||||
showError(ex);
|
||||
}
|
||||
}.execute(FragmentAccount.this, args, "account:check");
|
||||
}.execute(this, args, "account:check");
|
||||
}
|
||||
|
||||
private void onSave(boolean should) {
|
||||
@@ -1121,7 +1121,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
else
|
||||
showError(ex);
|
||||
}
|
||||
}.execute(FragmentAccount.this, args, "account:save");
|
||||
}.execute(this, args, "account:save");
|
||||
}
|
||||
|
||||
private void showError(Throwable ex) {
|
||||
@@ -1417,7 +1417,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Helper.unexpectedError(getFragmentManager(), ex);
|
||||
}
|
||||
}.execute(FragmentAccount.this, args, "account:delete");
|
||||
}.execute(this, args, "account:delete");
|
||||
}
|
||||
|
||||
private void setFolders(List<EntityFolder> _folders, EntityAccount account) {
|
||||
|
||||
Reference in New Issue
Block a user