diff --git a/CHANGELOG.md b/CHANGELOG.md index d6f6212..9b5988e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.4.0 +- Add way to create group chats +- Update flutter_profile to 1.3.0 +- Update flutter_image_picker to 1.0.5 + ## 1.3.1 - Added more options for styling the UI. diff --git a/packages/flutter_chat/lib/src/flutter_chat_navigator_userstory.dart b/packages/flutter_chat/lib/src/flutter_chat_navigator_userstory.dart index 3d9f607..21aaef9 100644 --- a/packages/flutter_chat/lib/src/flutter_chat_navigator_userstory.dart +++ b/packages/flutter_chat/lib/src/flutter_chat_navigator_userstory.dart @@ -201,7 +201,7 @@ Widget _newChatScreenRoute( translations: configuration.translations, service: configuration.chatService, onPressCreateGroupChat: () async { - if (configuration.onPressCreateGroupChat != null) return; + configuration.onPressCreateGroupChat?.call(); if (context.mounted) { await Navigator.of(context).push( MaterialPageRoute( diff --git a/packages/flutter_chat_local/pubspec.yaml b/packages/flutter_chat_local/pubspec.yaml index 01f2f8d..51986ed 100644 --- a/packages/flutter_chat_local/pubspec.yaml +++ b/packages/flutter_chat_local/pubspec.yaml @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - flutter_chat_interface: + flutter_chat_interface: git: url: https://github.com/Iconica-Development/flutter_chat path: packages/flutter_chat_interface