@@ -1,3 +1,8 @@
|
|||||||
|
## 0.2.8+1
|
||||||
|
|
||||||
|
- Update LLC dependency
|
||||||
|
- Update file_picker dependency
|
||||||
|
|
||||||
## 0.2.8
|
## 0.2.8
|
||||||
|
|
||||||
- Update LLC dependency
|
- Update LLC dependency
|
||||||
|
|||||||
@@ -738,7 +738,10 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
} else if (fileType == DefaultAttachmentTypes.file) {
|
} else if (fileType == DefaultAttachmentTypes.file) {
|
||||||
type = FileType.any;
|
type = FileType.any;
|
||||||
}
|
}
|
||||||
file = await FilePicker.getFile(type: type);
|
final res = await FilePicker.platform.pickFiles(type: type);
|
||||||
|
if (res?.files?.isNotEmpty == true) {
|
||||||
|
file = File(res.files.first.path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setState(() {
|
setState(() {
|
||||||
|
|||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_flutter
|
name: stream_chat_flutter
|
||||||
homepage: https://github.com/GetStream/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.
|
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
|
||||||
version: 0.2.8
|
version: 0.2.8+1
|
||||||
repository: https://github.com/GetStream/stream-chat-flutter
|
repository: https://github.com/GetStream/stream-chat-flutter
|
||||||
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
||||||
|
|
||||||
@@ -20,10 +20,10 @@ dependencies:
|
|||||||
url_launcher: ^5.4.11
|
url_launcher: ^5.4.11
|
||||||
video_player: ^0.10.11+1
|
video_player: ^0.10.11+1
|
||||||
chewie: ^0.9.10
|
chewie: ^0.9.10
|
||||||
file_picker: ^1.12.0
|
file_picker: ^2.0.0
|
||||||
image_picker: ^0.6.7+2
|
image_picker: ^0.6.7+2
|
||||||
flutter_keyboard_visibility: ^3.2.1
|
flutter_keyboard_visibility: ^3.2.1
|
||||||
stream_chat: ^0.2.5
|
stream_chat: ^0.2.5+1
|
||||||
mime: ^0.9.6+3
|
mime: ^0.9.6+3
|
||||||
visibility_detector: ^0.1.5
|
visibility_detector: ^0.1.5
|
||||||
http_parser: ^3.1.4
|
http_parser: ^3.1.4
|
||||||
|
|||||||
Reference in New Issue
Block a user