build: (deps): bump flutter_local_notifications from 19.5.0 to 20.0.0
Bumps [flutter_local_notifications](https://github.com/MaikuB/flutter_local_notifications) from 19.5.0 to 20.0.0. - [Release notes](https://github.com/MaikuB/flutter_local_notifications/releases) - [Commits](https://github.com/MaikuB/flutter_local_notifications/compare/flutter_local_notifications-v19.5.0...flutter_local_notifications-v20.0.0) --- updated-dependencies: - dependency-name: flutter_local_notifications dependency-version: 20.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
ea795b89ed
commit
49003af949
6 changed files with 33 additions and 33 deletions
|
|
@ -196,7 +196,7 @@ Future<void> notificationTap(
|
|||
.timeout(const Duration(seconds: 3));
|
||||
final messagingStyleInformation =
|
||||
await AndroidFlutterLocalNotificationsPlugin()
|
||||
.getActiveNotificationMessagingStyle(room.id.hashCode);
|
||||
.getActiveNotificationMessagingStyle(id: room.id.hashCode);
|
||||
if (messagingStyleInformation == null) return;
|
||||
l10n ??= await lookupL10n(PlatformDispatcher.instance.locale);
|
||||
messagingStyleInformation.messages?.add(
|
||||
|
|
@ -214,10 +214,10 @@ Future<void> notificationTap(
|
|||
);
|
||||
|
||||
await FlutterLocalNotificationsPlugin().show(
|
||||
room.id.hashCode,
|
||||
room.getLocalizedDisplayname(MatrixLocals(l10n)),
|
||||
input,
|
||||
NotificationDetails(
|
||||
id: room.id.hashCode,
|
||||
title: room.getLocalizedDisplayname(MatrixLocals(l10n)),
|
||||
body: input,
|
||||
notificationDetails: NotificationDetails(
|
||||
android: AndroidNotificationDetails(
|
||||
AppConfig.pushNotificationsChannelId,
|
||||
l10n.incomingMessages,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue