Cotton code
18 lines · 533 B · SwiftRaw
// A face's picture handed over whether or not the card names one: the// picture when there is one, nothing when there is none. The photo and video// faces take their print this way — always a view, drawn empty when the card// names no picture — as a deck has always handed them theirs.import SwiftUIpublic struct HeldPicture: View {    let picture: FacePicture?    public init(_ picture: FacePicture?) {        self.picture = picture    }    public var body: some View {        if let picture { picture }    }}