chore: Revert push channel changes

This commit is contained in:
Krille 2022-12-31 15:14:34 +01:00
parent 31f3a8b4c5
commit 50dd924ece

View file

@ -50,12 +50,9 @@ Future<void> 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,