From edfd8f36ab9ac0d829bb0fc1c08d6f0e0552421a Mon Sep 17 00:00:00 2001 From: Krille Date: Sat, 31 Dec 2022 15:14:34 +0100 Subject: [PATCH] chore: Revert push channel changes --- lib/utils/push_helper.dart | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index fd49282d..018c9de3 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -50,12 +50,9 @@ Future pushHelper( NotificationDetails( iOS: const DarwinNotificationDetails(), android: AndroidNotificationDetails( - notification.roomId ?? AppConfig.pushNotificationsChannelId, - notification.roomName ?? AppConfig.pushNotificationsChannelName, - channelDescription: notification.roomName ?? - AppConfig.pushNotificationsChannelDescription, - groupAlertBehavior: GroupAlertBehavior.summary, - category: AndroidNotificationCategory.message, + AppConfig.pushNotificationsChannelId, + AppConfig.pushNotificationsChannelName, + channelDescription: AppConfig.pushNotificationsChannelDescription, number: notification.counts?.unread, ticker: l10n!.unreadChats(notification.counts?.unread ?? 1), importance: Importance.max,