More work with fire notifications
This commit is contained in:
parent
5fdaf239c0
commit
9dd8a7de97
24 changed files with 512 additions and 288 deletions
|
|
@ -16,7 +16,7 @@ final fireNotificationReducer = combineReducers<List<FireNotification>>([
|
|||
|
||||
List<FireNotification> _receivedFireNotification(
|
||||
List<FireNotification> notifications, AddedFireNotificationAction action) {
|
||||
return new List.from(notifications)..add(action.notif);
|
||||
return new List.from(notifications)..insert(0, action.notif);
|
||||
}
|
||||
|
||||
List<FireNotification> _deletedFireNotification(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue