From 3c02dfb3ab6a31b3cac46529b452a28dfc922afe Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Sat, 11 Apr 2020 13:32:59 +0200 Subject: [PATCH] bump version --- CHANGELOG.md | 4 ++++ lib/src/message_widget.dart | 16 ++++++++++++++++ pubspec.yaml | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f41dc0e..39c5cbdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.23 + +- Hotfix + ## 0.1.22 - Better mime type detection diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index 1e909033..acd1ff58 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -937,6 +937,22 @@ class _MessageWidgetState extends State ); } + Widget _buildErrorImage(Attachment attachment) { + return Center( + child: Container( + width: 200, + height: 140, + color: Color(0xffd0021B).withOpacity(.1), + child: Center( + child: Icon( + Icons.error_outline, + color: Colors.white, + ), + ), + ), + ); + } + Widget _buildVideo( Attachment attachment, ) { diff --git a/pubspec.yaml b/pubspec.yaml index f15f3e4e..a32fddd2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: 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. -version: 0.1.22 +version: 0.1.23 environment: sdk: ">=2.3.0 <3.0.0"