Discard drafts

This commit is contained in:
M66B
2018-10-18 17:45:39 +00:00
parent cb80dfbb0d
commit 52be6a33ae
3 changed files with 6 additions and 4 deletions

View File

@@ -241,7 +241,7 @@ public class FragmentCompose extends FragmentEx {
int action = item.getItemId();
if (action == R.id.action_delete) {
new DialogBuilderLifecycle(getContext(), getViewLifecycleOwner())
.setMessage(R.string.title_ask_delete)
.setMessage(R.string.title_ask_discard)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
@@ -629,7 +629,7 @@ public class FragmentCompose extends FragmentEx {
private void handleExit() {
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
new DialogBuilderLifecycle(getContext(), getViewLifecycleOwner())
.setMessage(R.string.title_ask_delete)
.setMessage(R.string.title_ask_discard)
.setPositiveButton(R.string.title_yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {