diff --git a/lib/utils/localized_exception_extension.dart b/lib/utils/localized_exception_extension.dart index 5a6dcae59..65be02a1f 100644 --- a/lib/utils/localized_exception_extension.dart +++ b/lib/utils/localized_exception_extension.dart @@ -67,7 +67,9 @@ extension LocalizedExceptionExtension on Object { supportedVersions, ); } - if (this is MatrixConnectionException || this is SocketException) { + if (this is MatrixConnectionException || + this is SocketException || + this is SyncConnectionException) { return L10n.of(context)!.noConnectionToTheServer; } if (this is String) return toString();