Commit ada9774c authored by Wilko Manger's avatar Wilko Manger

Update Matrix SDK

parent c9f4a26b
......@@ -18,6 +18,8 @@
import 'package:flutter/material.dart';
import 'package:matrix_sdk/matrix_sdk.dart';
import 'package:pattle/src/ui/resources/localizations.dart';
import 'package:http/http.dart' as http;
import 'dart:io';
import '../sync_bloc.dart';
......@@ -59,7 +61,9 @@ class ErrorBannerState extends State<ErrorBanner>
final state = snapshot.data;
if (state != null
&& !state.succeeded
&& state.failReason == SyncFailReason.connection) {
&& (state.exception is http.ClientException
|| state.exception is SocketException)
) {
_controller.forward();
} else if (state != null
&& state.succeeded) {
......
......@@ -215,14 +215,14 @@ packages:
name: matrix_sdk
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.2"
version: "0.8.0"
matrix_sdk_sqflite:
dependency: "direct main"
description:
name: matrix_sdk_sqflite
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.0"
version: "0.5.0"
meta:
dependency: transitive
description:
......
......@@ -12,8 +12,8 @@ dependencies:
injector: ^1.0.6
matrix_sdk: ^0.7.2
matrix_sdk_sqflite: ^0.4.0
matrix_sdk: ^0.8.0
matrix_sdk_sqflite: ^0.5.0
rxdart: ^0.21.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment