diff --git a/app/src/main/java/com/simon/harmonichackernews/ComposeActivity.java b/app/src/main/java/com/simon/harmonichackernews/ComposeActivity.java index 4180b9e9..fd0ea4a7 100644 --- a/app/src/main/java/com/simon/harmonichackernews/ComposeActivity.java +++ b/app/src/main/java/com/simon/harmonichackernews/ComposeActivity.java @@ -120,7 +120,7 @@ protected void onCreate(Bundle savedInstanceState) { case TYPE_POST: replyingScrollView.setVisibility(View.GONE); topCommentTextView.setVisibility(View.VISIBLE); - topCommentTextView.setText("Submitting post"); + topCommentTextView.setText("Create submission"); titleContainer.setVisibility(View.VISIBLE); urlContainer.setVisibility(View.VISIBLE); @@ -204,7 +204,7 @@ public void handleOnBackPressed() { //This thing should only be enabled when we want to show the dialog, otherwise //we just do the default back behavior (which is predictive back) AlertDialog dialog = new MaterialAlertDialogBuilder(editText.getContext()) - .setTitle("Discard draft?") + .setTitle(type == TYPE_POST ? "Discard post?" : "Discard comment?") .setPositiveButton("Discard", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { dialog.cancel(); diff --git a/app/src/main/res/layout/comments_header.xml b/app/src/main/res/layout/comments_header.xml index 67e16191..99595b60 100644 --- a/app/src/main/res/layout/comments_header.xml +++ b/app/src/main/res/layout/comments_header.xml @@ -105,7 +105,7 @@ -