mirror of
https://github.com/yattee/yattee.git
synced 2025-01-08 22:07:10 +00:00
Fix reloading favorites view
This commit is contained in:
parent
fe56739211
commit
170f2ee94e
@ -66,6 +66,10 @@ struct FavoriteItemView: View {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.onChange(of: accounts.current) { _ in
|
||||||
|
resource?.addObserver(store)
|
||||||
|
resource?.load()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private var isVisible: Bool {
|
private var isVisible: Bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user