chore(stream_chat_flutter_core): use local stream_chat
This commit is contained in:
@@ -355,7 +355,7 @@ class StreamChannelState extends State<StreamChannel> {
|
||||
var message = snapshot.error.toString();
|
||||
if (snapshot.error is DioError) {
|
||||
final dioError = snapshot.error as DioError;
|
||||
if (dioError.type == DioErrorType.RESPONSE) {
|
||||
if (dioError.type == DioErrorType.response) {
|
||||
message = dioError.message;
|
||||
} else {
|
||||
message = 'Check your connection and retry';
|
||||
|
||||
@@ -10,10 +10,11 @@ environment:
|
||||
flutter: ">=1.17.0"
|
||||
|
||||
dependencies:
|
||||
stream_chat: ^1.5.0
|
||||
stream_chat:
|
||||
path: ../stream_chat
|
||||
flutter:
|
||||
sdk: flutter
|
||||
rxdart: ^0.25.0
|
||||
rxdart: ^0.26.0
|
||||
|
||||
dev_dependencies:
|
||||
mockito: ^4.1.4
|
||||
@@ -21,4 +22,3 @@ dev_dependencies:
|
||||
sdk: flutter
|
||||
fake_async: ^1.1.0
|
||||
pedantic: ^1.9.2
|
||||
|
||||
Reference in New Issue
Block a user