We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b098e1 commit b63b398Copy full SHA for b63b398
lib/services/notification_service.dart
@@ -27,7 +27,8 @@ Future<void> initLocalNotifications() async {
27
Future<void> onSelectNotification(NotificationResponse response) async {
28
debugPrint("Notification payload: ${response.payload}");
29
if (response.payload == null) return;
30
- OpenResult result = await OpenFilex.open(response.payload);
+ final payload = response.payload!;
31
+ OpenResult result = await OpenFilex.open(payload);
32
debugPrint(result.message);
33
}
34
0 commit comments