Fix favorite subscriptions visibility

This commit is contained in:
Arkadiusz Fal 2022-12-17 14:24:18 +01:00
parent 485c4315ac
commit 894b9bdcd7

View File

@ -228,7 +228,7 @@ struct FavoriteItemView: View {
private var isVisible: Bool { private var isVisible: Bool {
switch item.section { switch item.section {
case .subscriptions: case .subscriptions:
return accounts.app.supportsSubscriptions return accounts.app.supportsSubscriptions && !accounts.isEmpty && !accounts.current.anonymous
case .popular: case .popular:
return accounts.app.supportsPopular return accounts.app.supportsPopular
case let .channel(appType, _, _): case let .channel(appType, _, _):