Fix reloading favorites view

This commit is contained in:
Arkadiusz Fal 2021-12-06 19:13:49 +01:00
parent fe56739211
commit 170f2ee94e

View File

@ -66,6 +66,10 @@ struct FavoriteItemView: View {
#endif
}
}
.onChange(of: accounts.current) { _ in
resource?.addObserver(store)
resource?.load()
}
}
private var isVisible: Bool {