mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +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 {
|
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, _, _):
|
||||||
|
Loading…
Reference in New Issue
Block a user