diff --git a/app/src/main/java/com/nononsenseapps/feeder/archmodel/Repository.kt b/app/src/main/java/com/nononsenseapps/feeder/archmodel/Repository.kt index e7f1364114..c1582d0997 100644 --- a/app/src/main/java/com/nononsenseapps/feeder/archmodel/Repository.kt +++ b/app/src/main/java/com/nononsenseapps/feeder/archmodel/Repository.kt @@ -455,10 +455,10 @@ class Repository(override val di: DI) : DIAware { else -> null }, type = - when (feedId) { - ID_UNSET -> FeedType.TAG - ID_ALL_FEEDS -> FeedType.ALL_FEEDS - ID_SAVED_ARTICLES -> FeedType.SAVED_ARTICLES + when { + tag.isNotBlank() -> FeedType.TAG + feedId == ID_UNSET || feedId == ID_ALL_FEEDS -> FeedType.ALL_FEEDS + feedId == ID_SAVED_ARTICLES -> FeedType.SAVED_ARTICLES else -> FeedType.FEED }, unreadCount = unreadCount,