refactor: Migrate to Flutter 3.7.0
This commit is contained in:
parent
23438b7a42
commit
35174cb859
54 changed files with 876 additions and 2124 deletions
|
|
@ -30,8 +30,12 @@ extension LocalizedExceptionExtension on Object {
|
|||
.toString()
|
||||
.replaceAll('{', '"')
|
||||
.replaceAll('}', '"');
|
||||
return L10n.of(context)!
|
||||
.badServerVersionsException(serverVersions, supportedVersions);
|
||||
return L10n.of(context)!.badServerVersionsException(
|
||||
serverVersions,
|
||||
supportedVersions,
|
||||
serverVersions,
|
||||
supportedVersions,
|
||||
);
|
||||
}
|
||||
if (this is BadServerLoginTypesException) {
|
||||
final serverVersions = (this as BadServerLoginTypesException)
|
||||
|
|
@ -44,8 +48,11 @@ extension LocalizedExceptionExtension on Object {
|
|||
.toString()
|
||||
.replaceAll('{', '"')
|
||||
.replaceAll('}', '"');
|
||||
return L10n.of(context)!
|
||||
.badServerLoginTypesException(serverVersions, supportedVersions);
|
||||
return L10n.of(context)!.badServerLoginTypesException(
|
||||
serverVersions,
|
||||
supportedVersions,
|
||||
supportedVersions,
|
||||
);
|
||||
}
|
||||
if (this is MatrixConnectionException || this is SocketException) {
|
||||
return L10n.of(context)!.noConnectionToTheServer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue