correct a problem

dev_views_stats
Rayhân HASSOU 11 months ago
parent 91f4157c10
commit a8e37fa1f6

@ -44,6 +44,7 @@ struct PlayerRow: View {
}
.sheet(isPresented: $showDetailView) {
PlayerStatView(player: player)
.presentationDetents([.medium, .large])
}
}
.padding()

@ -20,6 +20,7 @@ struct PlayerStatView: View {
.padding(.top, 10)
} else {
Image(systemName: "person.circle.fill")
.resizable()
.frame(width: 100, height: 100)
.clipShape(Circle())

@ -13,7 +13,7 @@ struct MainMenuView: View {
@State private var currentImage: String?
@State private var timer: Timer?
@State private var showImage = false
let images: [String] = [AppImages.SemiLion, AppImages.SemiDog, AppImages.SemiRat, AppImages.SemiWolf, AppImages.SemiLeopard, AppImages.SemiElephant, AppImages.SemiCat] // Add your image names here
let images: [String] = [AppImages.SemiLion, AppImages.SemiDog, AppImages.SemiRat, AppImages.SemiWolf, AppImages.SemiLeopard, AppImages.SemiElephant, AppImages.SemiCat]
var body: some View {
NavigationView {

Loading…
Cancel
Save