Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
demchenkoalex committed Aug 31, 2021
1 parent d852321 commit bfeafc3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.3.1

- Rename `buildCustomMessage` to `customMessageBuilder`
- Update dependencies

## 1.3.0

- Chat is now correctly rendered in not full screen mode. Removed `SafeArea` from the lib itself, wrap `Chat` component if needed. Thanks @m-j-g for reporting!
Expand Down
4 changes: 2 additions & 2 deletions doc/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class _MyHomePageState extends State<MyHomePage> {
id: randomString(),
name: result.files.single.name,
size: result.files.single.size,
uri: result.files.single.path ?? '',
uri: result.files.single.path,
);
_addMessage(message);
Expand Down Expand Up @@ -291,7 +291,7 @@ class _MyHomePageState extends State<MyHomePage> {
id: randomString(),
name: result.files.single.name,
size: result.files.single.size,
uri: result.files.single.path ?? '',
uri: result.files.single.path,
);
_addMessage(message);
Expand Down
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ class _ChatPageState extends State<ChatPage> {
author: _user,
createdAt: DateTime.now().millisecondsSinceEpoch,
id: const Uuid().v4(),
mimeType: lookupMimeType(result.files.single.path ?? ''),
mimeType: lookupMimeType(result.files.single.path),
name: result.files.single.name,
size: result.files.single.size,
uri: result.files.single.path ?? '',
uri: result.files.single.path,
);

_addMessage(message);
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.3
file_picker: ^4.0.0
file_picker: ^4.0.1
flutter_chat_ui:
path: ../
image_picker: ^0.8.3+3
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: flutter_chat_ui
description: >
Actively maintained, community-driven chat UI implementation with an
optional Firebase BaaS.
version: 1.3.0
version: 1.3.1
homepage: https://flyer.chat
repository: https://github.com/flyerhq/flutter_chat_ui

Expand All @@ -15,8 +15,8 @@ dependencies:
sdk: flutter
diffutil_dart: ^2.0.0+1
equatable: ^2.0.3
flutter_chat_types: ^3.0.0
flutter_link_previewer: ^2.4.0
flutter_chat_types: ^3.0.1
flutter_link_previewer: ^2.4.1
intl: ^0.17.0
meta: ^1.3.0
photo_view: ^0.12.0
Expand Down

0 comments on commit bfeafc3

Please sign in to comment.