fix: Have a space after mentions, making it consistent with @-completion
This commit is contained in:
parent
49664eaadf
commit
ef19594556
1 changed files with 2 additions and 2 deletions
|
|
@ -546,7 +546,7 @@ class _ChatState extends State<_Chat> {
|
||||||
user: room.getUserByMXIDSync(
|
user: room.getUserByMXIDSync(
|
||||||
room.directChatMatrixID),
|
room.directChatMatrixID),
|
||||||
onMention: () => sendController.text +=
|
onMention: () => sendController.text +=
|
||||||
' ${room.directChatMatrixID}',
|
'${room.directChatMatrixID} ',
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: () => Navigator.of(context).push(
|
: () => Navigator.of(context).push(
|
||||||
|
|
@ -776,7 +776,7 @@ class _ChatState extends State<_Chat> {
|
||||||
user: event.sender,
|
user: event.sender,
|
||||||
onMention: () =>
|
onMention: () =>
|
||||||
sendController.text +=
|
sendController.text +=
|
||||||
' ${event.senderId}',
|
'${event.senderId} ',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
onSelect: (Event event) {
|
onSelect: (Event event) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue