builds: migrate to dart 3.0/flutter 3.10

This commit is contained in:
lauren n. liberda 2023-05-15 16:52:03 +00:00 committed by Krille
commit 1e0988dd4c
8 changed files with 106 additions and 106 deletions

View file

@ -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>>{};