Currently Picture only shows text for the initial images. We should display multiple Images. This will be the default behavior for Picture, there will be ways to customize the single or multiple images. This ticket should only focus on displaying multiple images. Some simple SwiftUI Image views would be fine.
The code is located in the Picture.swift file:
public var body: some View {
Group {
if sources.count == 1 {
// ...
} else {
Text("Images: \(sources.count)") // Multiple Images
}
}
.sheet(isPresented: $isFullscreen) {
fullscreenView
}
.onTapGesture {
isFullscreen = true
}
}
Currently Picture only shows text for the initial images. We should display multiple Images. This will be the default behavior for Picture, there will be ways to customize the single or multiple images. This ticket should only focus on displaying multiple images. Some simple SwiftUI Image views would be fine.
The code is located in the Picture.swift file: