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