From faf995f0c98e4357ee1f9d3b8dca7ba320fbcd6c Mon Sep 17 00:00:00 2001 From: tom79 Date: Tue, 17 Oct 2017 18:44:24 +0200 Subject: [PATCH] Use String instead of Integer --- .../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 4be7d7c72..ecf318e25 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 @@ -921,7 +921,7 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc //Clear content toot_content.setText(""); toot_cw_content.setText(""); - toot_space_left.setText(0); + toot_space_left.setText("0"); if( attachments != null) { for (Attachment attachment : attachments) { View namebar = findViewById(Integer.parseInt(attachment.getId()));