Merged in PhotonQyv/mastodon_etalab/Kludge (pull request #51)

Kludge
This commit is contained in:
PhotonQyv 2017-08-10 20:14:34 +00:00 committed by tom79
commit 0c736e1800
1 changed files with 2 additions and 2 deletions

View File

@ -1154,8 +1154,8 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
}
}
}
//Put a dot at the end of all mentioned account to force capitalization
toot_content.setText(String.format("%s. ",toot_content.getText().toString().trim()));
//Put a "<space>dot<space>" at the end of all mentioned account to force capitalization
toot_content.append(" . ");
toot_content.setSelection(toot_content.getText().length()); //Put cursor at the end
}
}