Fixed dialog tasks

This commit is contained in:
M66B 2019-09-12 13:36:23 +02:00
parent ac69a94dd2
commit 4a81f17a1f
4 changed files with 5 additions and 5 deletions

View File

@ -4127,7 +4127,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getFragmentManager(), ex);
}
}.execute(FragmentKeywordManage.this, args, "message:keywords:manage");
}.execute(getContext(), getActivity(), args, "message:keywords:manage");
}
})
.setNeutralButton(R.string.title_add, new DialogInterface.OnClickListener() {
@ -4191,7 +4191,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getFragmentManager(), ex);
}
}.execute(FragmentKeywordAdd.this, args, "message:keyword:add");
}.execute(getContext(), getActivity(), args, "message:keyword:add");
}
}
})

View File

@ -193,7 +193,7 @@ public class FragmentContacts extends FragmentBase {
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getFragmentManager(), ex);
}
}.execute(FragmentDelete.this, new Bundle(), "contacts:delete");
}.execute(getContext(), getActivity(), new Bundle(), "contacts:delete");
}
})
.setNegativeButton(android.R.string.cancel, null)

View File

@ -154,7 +154,7 @@ public class FragmentOperations extends FragmentBase {
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getFragmentManager(), ex);
}
}.execute(DialogDelete.this, new Bundle(), "operations:delete");
}.execute(getContext(), getActivity(), new Bundle(), "operations:delete");
}
})
.setNegativeButton(android.R.string.cancel, null)

View File

@ -507,7 +507,7 @@ public class Helper {
else
ToastEx.makeText(context, ex.toString(), Toast.LENGTH_LONG).show();
}
}.execute(FragmentDialogUnexpected.this, new Bundle(), "error:unexpected");
}.execute(getContext(), getActivity(), new Bundle(), "error:unexpected");
}
})
.create();