Mercurial > public > geoquiz
comparison GeoQuiz/Components/RecentGameHelper.swift @ 17:8dac58bb4569
fix build bug
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Thu, 20 Oct 2022 18:07:51 +0200 |
parents | 1011e56b7832 |
children | f140bb277c96 |
comparison
equal
deleted
inserted
replaced
16:1011e56b7832 | 17:8dac58bb4569 |
---|---|
40 } | 40 } |
41 | 41 |
42 Spacer() | 42 Spacer() |
43 | 43 |
44 Text("\(game.score, format: .number) ⭐️") | 44 Text("\(game.score, format: .number) ⭐️") |
45 .font(.headline) | |
45 | 46 |
46 } | 47 } |
47 .padding() | |
48 .background( | |
49 RoundedRectangle(cornerRadius: 20) | |
50 .foregroundColor(.white) | |
51 ) | |
52 } | 48 } |
53 | 49 |
54 init(game: PlayedGame) { | 50 init(game: PlayedGame) { |
55 self.game = game | 51 self.game = game |
56 | 52 |