Update packages/stream_chat_flutter/lib/src/user_mentions_overlay.dart

Co-authored-by: Salvatore Giordano <[email protected]>
This commit is contained in:
Sahil Kumar
2021-09-29 17:13:56 +05:30
committed by GitHub
co-authored by Salvatore Giordano
parent 6686cc1af6
commit c19b72c042
@@ -30,7 +30,7 @@ class UserMentionsOverlay extends StatefulWidget {
'Channel ${channel.cid} is not yet initialized',
),
assert(
mentionAllAppUsers && client != null,
!mentionAllAppUsers || (mentionAllAppUsers && client != null),
'StreamChatClient is required in order to use mentionAllAppUsers',
),
super(key: key);