// // SwiftUIView.swift // Bunch O' Dice // // Created by Rory Martin Hinnen on 6/7/22. // import SwiftUI struct ShowPoolLandscape: View { @EnvironmentObject var current: Roll var body: some View { HStack { Spacer() ForEach(Dice.DiceType.allCases, id: \.rawValue) { i in SingleDie(whichDie: i) } Spacer() } } } struct ShowPool_Previews: PreviewProvider { static var previews: some View { ShowPoolLandscape() .environmentObject(Roll()) } }