chore: Follow up android shortcuts

pull/899/head
Krille 1 year ago
parent d2a58422b4
commit 859701e158
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -286,7 +286,7 @@ Future<void> _tryPushHelper(
final title = event.room.getLocalizedDisplayname(MatrixLocals(l10n));
if (PlatformInfos.isAndroid && messagingStyleInformation == null) {
_setShortcut(event, l10n, title, roomAvatarFile);
await _setShortcut(event, l10n, title, roomAvatarFile);
}
await flutterLocalNotificationsPlugin.show(
@ -302,7 +302,7 @@ Future<void> _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.
void _setShortcut(
Future<void> _setShortcut(
Event event,
L10n l10n,
String title,

@ -669,7 +669,7 @@ packages:
description:
path: "."
ref: HEAD
resolved-ref: "67158a31e066265ad43463befb57c29ec2cbd77a"
resolved-ref: "930c51d56c87a7f8cefdf8c1db52c194baddc37d"
url: "https://github.com/krille-chan/flutter_shortcuts.git"
source: git
version: "1.4.0"

Loading…
Cancel
Save