Drop old observables from profiles list
List was being reloaded e.g. on ProductManager receipt updates, but profile in-app eligibility is not a thing anymore.
This commit is contained in:
parent
137bacb542
commit
e87ad06c5d
|
@ -30,15 +30,8 @@ extension OrganizerView {
|
|||
struct ProfilesList: View {
|
||||
@ObservedObject private var profileManager: ProfileManager
|
||||
|
||||
@ObservedObject private var providerManager: ProviderManager
|
||||
|
||||
// just to observe changes in profiles eligibility
|
||||
@ObservedObject private var productManager: ProductManager
|
||||
|
||||
init() {
|
||||
profileManager = .shared
|
||||
providerManager = .shared
|
||||
productManager = .shared
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
|
Loading…
Reference in New Issue