fix: Have a space after mentions, making it consistent with @-completion

This commit is contained in:
Sorunome 2020-12-19 16:37:28 +01:00
parent 631121ed23
commit b18e81ae95
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
1 changed files with 2 additions and 2 deletions

View File

@ -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) {