diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index 46776a3b9..198c5c442 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -286,7 +286,7 @@ Future _tryPushHelper( final title = event.room.getLocalizedDisplayname(MatrixLocals(l10n)); if (PlatformInfos.isAndroid && messagingStyleInformation == null) { - await _setShortcut(event, l10n, title, roomAvatarFile); + _setShortcut(event, l10n, title, roomAvatarFile); } await flutterLocalNotificationsPlugin.show( @@ -302,7 +302,7 @@ Future _tryPushHelper( /// Creates a shortcut for Android platform but does not block displaying the /// notification. This is optional but provides a nicer view of the /// notification popup. -Future _setShortcut( +void _setShortcut( Event event, L10n l10n, String title,