summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/controller/NavigationController.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js
index 68a46900e..4782ff114 100644
--- a/js/controller/NavigationController.js
+++ b/js/controller/NavigationController.js
@@ -113,6 +113,11 @@ app.controller('NavigationController', function ($route, FEED_TYPE, FeedResource
return this.getStarredCount() > 0;
};
+ this.isSharedUnread = function () {
+ return true;
+ //return this.getSharedCount() > 0;
+ };
+
this.toggleFolder = function (folderName) {
FolderResource.toggleOpen(folderName);
};
@@ -150,6 +155,11 @@ app.controller('NavigationController', function ($route, FEED_TYPE, FeedResource
$route.current.$$route.type === FEED_TYPE.STARRED;
};
+ this.isSharedActive = function () {
+ return $route.current &&
+ $route.current.$$route.type === FEED_TYPE.SHARED;
+ };
+
this.isExploreActive = function () {
return $route.current &&
$route.current.$$route.type === FEED_TYPE.EXPLORE;