builds: migrate to dart 3.0/flutter 3.10
This commit is contained in:
parent
ab1e2d8db8
commit
1e0988dd4c
8 changed files with 106 additions and 106 deletions
|
|
@ -60,7 +60,7 @@ class BackgroundPush {
|
|||
Future<void> loadLocale() async {
|
||||
// inspired by _lookupL10n in .dart_tool/flutter_gen/gen_l10n/l10n.dart
|
||||
l10n ??= (context != null ? L10n.of(context!) : null) ??
|
||||
(await L10n.delegate.load(window.locale));
|
||||
(await L10n.delegate.load(PlatformDispatcher.instance.locale));
|
||||
}
|
||||
|
||||
final pendingTests = <String, Completer<void>>{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue