chore: Revert push channel changes

This commit is contained in:
Krille 2022-12-31 15:14:34 +01:00
parent 7635104505
commit edfd8f36ab

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,