Update packages/stream_chat_flutter/lib/src/user_mentions_overlay.dart
Co-authored-by: Salvatore Giordano <[email protected]>
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user