Migrated llc Lists to be nullable instead of being an empty array
This commit is contained in:
@@ -45,7 +45,7 @@ class StreamGiphyAttachment extends StreamAttachmentWidget {
|
||||
if (imageUrl == null) {
|
||||
return const AttachmentError();
|
||||
}
|
||||
if (attachment.actions.isNotEmpty) {
|
||||
if (attachment.actions != null && attachment.actions!.isNotEmpty) {
|
||||
return _buildSendingAttachment(context, imageUrl);
|
||||
}
|
||||
return _buildSentAttachment(context, imageUrl);
|
||||
|
||||
Reference in New Issue
Block a user