Last changes not published
This commit is contained in:
parent
ac65ccf990
commit
21ec08303a
43 changed files with 607 additions and 613 deletions
|
|
@ -28,7 +28,8 @@ List<FireNotification> _deletedFireNotification(
|
|||
}
|
||||
|
||||
List<FireNotification> _updatedFireNotification(
|
||||
List<FireNotification> notifications, UpdatedFireNotificationAction action) {
|
||||
List<FireNotification> notifications,
|
||||
UpdatedFireNotificationAction action) {
|
||||
return notifications
|
||||
.map((notif) => notif.id == action.notif.id ? action.notif : notif)
|
||||
.toList();
|
||||
|
|
@ -45,5 +46,5 @@ List<FireNotification> _readedFireNotification(
|
|||
List<FireNotification> _deletedAllFireNotifications(
|
||||
List<FireNotification> notifications,
|
||||
DeletedAllFireNotificationAction action) {
|
||||
return new List<FireNotification>();
|
||||
return [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue