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

@ -82,7 +82,7 @@ Future<void> _tryPushHelper(
if (!isBackgroundMessage &&
activeRoomId == notification.roomId &&
activeRoomId != null &&
client?.syncPresence == null) {
client.syncPresence == null) {
Logs().v('Room is in foreground. Stop push helper here.');
return;
}
@ -144,7 +144,7 @@ Future<void> _tryPushHelper(
return;
}
l10n ??= await L10n.delegate.load(window.locale);
l10n ??= await L10n.delegate.load(PlatformDispatcher.instance.locale);
final matrixLocals = MatrixLocals(l10n);
// Calculate the body