Mercurial > public > geoquiz
diff GeoQuiz/GuessTheCountryView.swift @ 33:6d574bd1644f
refactor controllers
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Sat, 12 Nov 2022 11:18:30 +0100 |
parents | 9d6dd0e59c22 |
children |
line wrap: on
line diff
--- a/GeoQuiz/GuessTheCountryView.swift Fri Nov 11 09:05:41 2022 +0100 +++ b/GeoQuiz/GuessTheCountryView.swift Sat Nov 12 11:18:30 2022 +0100 @@ -48,9 +48,7 @@ gameController.answer( choice: (key: cityName, value: gameController.data[cityName]!), wrongMessage: "\(gameController.correctAnswer.key) is located in \(gameController.correctAnswer.value.country)" - ) { - gameController.selector() - } + ) } label: { AnswerButton( name: gameController.data[cityName]!.country,