Added Monitorized Areas
This commit is contained in:
parent
864ee28584
commit
e50ff5179b
16 changed files with 223 additions and 19 deletions
|
|
@ -9,6 +9,9 @@ AppState appReducer(AppState state, action) {
|
|||
return state.copyWith(fireNotifications: action.fetchedFireNotifications,
|
||||
fireNotificationsUnread: action.unreadCount);
|
||||
}
|
||||
if (action is FetchMonitoredAreasSucceededAction) {
|
||||
return state.copyWith(monitoredAreas: action.monitoredAreas);
|
||||
}
|
||||
if (action is AddedFireNotificationAction)
|
||||
return state.copyWith(
|
||||
fireNotificationsUnread: state.fireNotificationsUnread + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue