Skip to content

Commit

Permalink
handle update state / action re: About screen
Browse files Browse the repository at this point in the history
relates to #97
  • Loading branch information
techieshark committed Aug 15, 2016
1 parent a9fe52a commit b8e195b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prototype/src/App.elm
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ updateModel action app = case (app.location, action) of
--(_, View story') -> {app | location = Viewing story' initialItemView screen1}
(_, View story' screen') -> {app | location = Viewing story' initialItemView screen'}
(_, ViewFavourites) -> {app | location = ViewingFavourites}
(_, ViewAboutScreen) -> {app | location = AboutScreen}
-- Data update actions
(_, LoadData updateItems) -> {app | items = updateItems app.items}
(_, LoadDiscoveryData items updateItems) -> {app | items = updateItems app.items, discovery = updateDiscoverableItems app.discovery items}
Expand Down

0 comments on commit b8e195b

Please sign in to comment.