fluffychat merge - resolve conflicts

pull/1384/head
ggurdin 1 year ago
commit 816fe43d3e
No known key found for this signature in database
GPG Key ID: A01CB41737CBB478

@ -70,7 +70,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
autoInitialize: true, autoInitialize: true,
); );
} }
} on Exception 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)),

@ -66,7 +66,9 @@ extension LocalizedExceptionExtension on Object {
supportedVersions, supportedVersions,
); );
} }
if (this is SocketException || this is SyncConnectionException) { if (this is IOException ||
this is SocketException ||
this is SyncConnectionException) {
return L10n.of(context)!.noConnectionToTheServer; return L10n.of(context)!.noConnectionToTheServer;
} }
if (this is String) return toString(); if (this is String) return toString();

@ -75,7 +75,7 @@ dependencies:
git: git:
url: https://github.com/pangeachat/matrix-dart-sdk.git # repo url: https://github.com/pangeachat/matrix-dart-sdk.git # repo
ref: main # branch ref: main # branch
# matrix: ^0.29.13 # matrix: ^0.30.0
# Pangea# # Pangea#
native_imaging: ^0.1.1 native_imaging: ^0.1.1
package_info_plus: ^6.0.0 package_info_plus: ^6.0.0

Loading…
Cancel
Save