-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Currently Picture only shows text for the initial images. We should display an Image if there is only one image. 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 a single image. A simple SwiftUI Image view would be fine.
The code is located in the Picture.swift file:
public var body: some View {
Group {
if sources.count == 1 {
Text("Image") // Single Image
} else {
// ...
}
}
.sheet(isPresented: $isFullscreen) {
fullscreenView
}
.onTapGesture {
isFullscreen = true
}
}devahmedshendy
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed