Ios swift – Problem of executing asynchronous functions without updating in SwiftUI
When I add a product to the cart, it calculates the total price without changing the amount of the product in the cart. This is how I add products to the cart: @Published var cartProducts = [CartProduct]() private let httpDownloader…