27 lines
546 B
Swift
27 lines
546 B
Swift
//
|
|
// ShowFullPictureScreen.swift
|
|
// AlloVictor
|
|
//
|
|
// Created by Bodinaud Victor on 18/04/2024.
|
|
//
|
|
|
|
import SwiftUI
|
|
import CachedAsyncImage
|
|
|
|
struct ShowFullPictureScreen: View {
|
|
let pictureUrl: String
|
|
|
|
var body: some View {
|
|
VStack(alignment: .trailing) {
|
|
CachedAsyncImage(url: URL(string: pictureUrl)) { image in
|
|
image
|
|
.resizable()
|
|
.scaledToFit()
|
|
|
|
} placeholder: {
|
|
ProgressView()
|
|
}
|
|
}
|
|
}
|
|
}
|