chore: add remaining translations

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-07-19 16:51:49 +05:30
committed by xsahil03x
parent face836383
commit 67a36d9c35
12 changed files with 65 additions and 58 deletions
@@ -43,15 +43,10 @@ class MessageText extends StatelessWidget {
final mentionedUser = message.mentionedUsers.firstWhereOrNull(
(u) => '@${u.name}' == link,
);
if (mentionedUser == null) {
return;
}
if (onMentionTap != null) {
onMentionTap!(mentionedUser);
} else {
print('tap on ${mentionedUser.name}');
}
if (mentionedUser == null) return;
onMentionTap?.call(mentionedUser);
} else {
if (onLinkTap != null) {
onLinkTap!(link);