Skip to content

Commit

Permalink
Merge pull request #535 from ably/ECO-4885/fix-push-serialization
Browse files Browse the repository at this point in the history
fix: serialization for push notification
  • Loading branch information
ttypic authored Jul 26, 2024
2 parents ca85d49 + 241f942 commit a701b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/push_notifications/src/notification.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ class Notification {
/// Creates an instance from the map.
factory Notification.fromMap(Map<String, dynamic> map) => Notification(
body: map[TxNotification.body] as String?,
title: map[TxNotification.title] as String,
title: map[TxNotification.title] as String? ?? '',
);
}

0 comments on commit a701b8c

Please sign in to comment.