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