Mercurial > public > geoquiz
comparison GeoQuiz/GuessThePopulationView.swift @ 23:02dcebb8cc4a
fix layout issues
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Thu, 27 Oct 2022 09:17:13 +0200 |
parents | b145c408f791 |
children | 425078c01194 |
comparison
equal
deleted
inserted
replaced
22:56add5561261 | 23:02dcebb8cc4a |
---|---|
18 .ignoresSafeArea() | 18 .ignoresSafeArea() |
19 | 19 |
20 GeometryReader { geo in | 20 GeometryReader { geo in |
21 VStack { | 21 VStack { |
22 GameToolbar(game: game, color: .maizeCrayola) | 22 GameToolbar(game: game, color: .maizeCrayola) |
23 .padding(.bottom) | |
23 | 24 |
24 Spacer() | 25 Spacer() |
25 | 26 |
26 Image(game.correctAnswer.value.flag) | 27 Image(game.correctAnswer.value.flag) |
27 .renderingMode(.original) | 28 .renderingMode(.original) |
78 .previewDevice(PreviewDevice(rawValue: "iPhone 14 Pro Max")) | 79 .previewDevice(PreviewDevice(rawValue: "iPhone 14 Pro Max")) |
79 .previewDisplayName("iPhone 14 Pro Max") | 80 .previewDisplayName("iPhone 14 Pro Max") |
80 | 81 |
81 GuessThePopulationView() | 82 GuessThePopulationView() |
82 .previewDevice(PreviewDevice(rawValue: "iPad Pro (12.9-inch) (5th generation)")) | 83 .previewDevice(PreviewDevice(rawValue: "iPad Pro (12.9-inch) (5th generation)")) |
83 .previewDisplayName("iPad Pro (12.9-inch) (5th generation)") | 84 .previewDisplayName("iPad Pro (12.9-inch)") |
85 | |
86 GuessThePopulationView() | |
87 .previewDevice(PreviewDevice(rawValue: "iPhone 8")) | |
88 .previewDisplayName("iPhone 8") | |
84 } | 89 } |
85 } | 90 } |