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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue