@@ -26,6 +26,9 @@ Item {
2626 property var scopeStyle
2727 property bool editMode: false
2828
29+ readonly property bool isFavoritesFeed: root.model.categoryId == "favorites"
30+ readonly property bool isOtherFeed: root.model.categoryId == "other"
31+
2932 visible: !editMode || categoryId == "favorites"
3033
3134 signal requestFavorite(string scopeId, bool favorite)
@@ -40,8 +43,8 @@ Item {
4043 width: root.width
4144 height: units.gu(5)
4245 text: {
43− if (categoryId == "favorites") return i18n.tr("Favourite Feeds");
44− else if (categoryId == "other") return i18n.tr("Other Subscribed Feeds");
46+ if (isFavoritesFeed) return i18n.tr("Favourite Feeds");
47+ else if (isOtherFeed) return i18n.tr("Other Subscribed Feeds");
4548 else return name;
4649 }
4750 color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
@@ -76,7 +79,8 @@ Item {
7679
7780 icon: model.art || ""
7881 text: model.title || ""
79− showStar: model.scopeId != "clickscope" && (categoryId == "favorites" || categoryId == "other")
82+ showStar: model.scopeId != "clickscope" && (root.isFavoritesFeed || root.isOtherFeed)
83+ isFavorite: root.isFavoritesFeed
8084
8185 onClicked: root.requestActivate(result);
8286 onRequestFavorite: root.requestFavorite(model.scopeId, favorite);