Merge pull request #173 from GetStream/hotfix/mentionTap
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
## 0.2.17+1
|
||||||
|
|
||||||
|
- Fix mention tap bug
|
||||||
|
|
||||||
## 0.2.17
|
## 0.2.17
|
||||||
|
|
||||||
- Expose messageInputDecoration as part of the theme
|
- Expose messageInputDecoration as part of the theme
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class MessageText extends StatelessWidget {
|
|||||||
) {
|
) {
|
||||||
if (link.startsWith('@')) {
|
if (link.startsWith('@')) {
|
||||||
final mentionedUser = message.mentionedUsers.firstWhere(
|
final mentionedUser = message.mentionedUsers.firstWhere(
|
||||||
(u) => '@${u.name.replaceAll(' ', '')}' == link,
|
(u) => '@${u.name}' == link,
|
||||||
orElse: () => null,
|
orElse: () => null,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_flutter
|
name: stream_chat_flutter
|
||||||
homepage: https://github.com/GetStream/stream-chat-flutter
|
homepage: https://github.com/GetStream/stream-chat-flutter
|
||||||
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
|
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
|
||||||
version: 0.2.17
|
version: 0.2.17+1
|
||||||
repository: https://github.com/GetStream/stream-chat-flutter
|
repository: https://github.com/GetStream/stream-chat-flutter
|
||||||
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user