mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Fix issue #94 - Missing "@" when mentioning an account from the profile.
This commit is contained in:
parent
08a9bcedb6
commit
0ce4dbe238
1 changed files with 2 additions and 2 deletions
|
@ -224,9 +224,9 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
||||||
final SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context);
|
final SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
boolean capitalize = sharedpreferences.getBoolean(context.getString(R.string.SET_CAPITALIZE), true);
|
boolean capitalize = sharedpreferences.getBoolean(context.getString(R.string.SET_CAPITALIZE), true);
|
||||||
if (capitalize) {
|
if (capitalize) {
|
||||||
statusDraft.text = mentionedAccount.acct + "\n";
|
statusDraft.text = "@" + mentionedAccount.acct + "\n";
|
||||||
} else {
|
} else {
|
||||||
statusDraft.text = mentionedAccount.acct + " ";
|
statusDraft.text = "@" + mentionedAccount.acct + " ";
|
||||||
}
|
}
|
||||||
holder.binding.content.setText(statusDraft.text);
|
holder.binding.content.setText(statusDraft.text);
|
||||||
updateCharacterCount(holder);
|
updateCharacterCount(holder);
|
||||||
|
|
Loading…
Reference in a new issue