Skip to content

Instantly share code, notes, and snippets.

View FlorianTousch's full-sized avatar

Florianto FlorianTousch

View GitHub Profile
struct PLPGridView: View {
@ObservedObject var viewModel: PLPViewModel
@Environment(\.colorScheme) var colorScheme
@EnvironmentObject var providers: ProviderFactory
@State var selectedProduct: MerchProduct?
@Binding private var toastContent: GLToastInformationContents?
private let enclosingWidth: CGFloat
init(viewModel: PLPViewModel, enclosingWidth: CGFloat, toastContent: Binding<GLToastInformationContents?>) {
self.viewModel = viewModel
self.enclosingWidth = enclosingWidth