diff options
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r-- | js/controller/NavigationController.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js index 299d433da..08443191b 100644 --- a/js/controller/NavigationController.js +++ b/js/controller/NavigationController.js @@ -8,7 +8,7 @@ * @copyright Bernhard Posselt 2014 */ app.controller('NavigationController', -function (FeedResource, FolderResource, ItemResource) { +function (FeedResource, FolderResource, ItemResource, SettingsResource) { 'use strict'; this.getFeeds = () => { @@ -37,6 +37,10 @@ function (FeedResource, FolderResource, ItemResource) { FeedResource.markRead(); }; + this.isShowAll = () => { + return SettingsResource.get('showAll'); + }; + // TBD this.createFeed = () => { console.log('TBD'); @@ -74,4 +78,5 @@ function (FeedResource, FolderResource, ItemResource) { console.log('TBD'); }; + });
\ No newline at end of file |