From 567b6d826ea0c263d8aff237967f6f95bad8493f Mon Sep 17 00:00:00 2001 From: tom79 Date: Sun, 24 Sep 2017 10:02:56 +0200 Subject: [PATCH] Carriage return for replies --- .../java/fr/gouv/etalab/mastodon/activities/TootActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/activities/TootActivity.java b/app/src/main/java/fr/gouv/etalab/mastodon/activities/TootActivity.java index b6400bfdc..8d8cacf0b 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/activities/TootActivity.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/activities/TootActivity.java @@ -1349,7 +1349,7 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc toot_content.setText(toot_content.getText().toString().trim()); if (toot_content.getText().toString().startsWith("@")) { //Put a "dot" at the end of all mentioned account to force capitalization - toot_content.append(". "); + toot_content.append("\n"); } toot_space_left.setText(String.valueOf(toot_content.length())); toot_content.setSelection(toot_content.getText().length()); //Put cursor at the end