mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50: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);
|
||||
boolean capitalize = sharedpreferences.getBoolean(context.getString(R.string.SET_CAPITALIZE), true);
|
||||
if (capitalize) {
|
||||
statusDraft.text = mentionedAccount.acct + "\n";
|
||||
statusDraft.text = "@" + mentionedAccount.acct + "\n";
|
||||
} else {
|
||||
statusDraft.text = mentionedAccount.acct + " ";
|
||||
statusDraft.text = "@" + mentionedAccount.acct + " ";
|
||||
}
|
||||
holder.binding.content.setText(statusDraft.text);
|
||||
updateCharacterCount(holder);
|
||||
|
|
Loading…
Reference in a new issue