mirror of
https://github.com/krille-chan/fluffychat
synced 2024-07-13 04:54:06 +00:00
fix: Follow up matrix sdk update
This commit is contained in:
parent
bc52c9f677
commit
873362428c
|
@ -71,7 +71,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
|
||||||
autoInitialize: true,
|
autoInitialize: true,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} on MatrixConnectionException catch (e) {
|
} on IOException catch (e) {
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
SnackBar(
|
SnackBar(
|
||||||
content: Text(e.toLocalizedString(context)),
|
content: Text(e.toLocalizedString(context)),
|
||||||
|
|
|
@ -67,7 +67,7 @@ extension LocalizedExceptionExtension on Object {
|
||||||
supportedVersions,
|
supportedVersions,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (this is MatrixConnectionException ||
|
if (this is IOException ||
|
||||||
this is SocketException ||
|
this is SocketException ||
|
||||||
this is SyncConnectionException) {
|
this is SyncConnectionException) {
|
||||||
return L10n.of(context)!.noConnectionToTheServer;
|
return L10n.of(context)!.noConnectionToTheServer;
|
||||||
|
|
Loading…
Reference in a new issue