mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix favorite subscriptions visibility
This commit is contained in:
parent
485c4315ac
commit
894b9bdcd7
@ -228,7 +228,7 @@ struct FavoriteItemView: View {
|
||||
private var isVisible: Bool {
|
||||
switch item.section {
|
||||
case .subscriptions:
|
||||
return accounts.app.supportsSubscriptions
|
||||
return accounts.app.supportsSubscriptions && !accounts.isEmpty && !accounts.current.anonymous
|
||||
case .popular:
|
||||
return accounts.app.supportsPopular
|
||||
case let .channel(appType, _, _):
|
||||
|
Loading…
Reference in New Issue
Block a user