Mercurial > public > geoquiz
diff GeoQuiz/Helpers/GameAlertsModifier.swift @ 33:6d574bd1644f
refactor controllers
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Sat, 12 Nov 2022 11:18:30 +0100 |
parents | 425078c01194 |
children |
line wrap: on
line diff
--- a/GeoQuiz/Helpers/GameAlertsModifier.swift Fri Nov 11 09:05:41 2022 +0100 +++ b/GeoQuiz/Helpers/GameAlertsModifier.swift Sat Nov 12 11:18:30 2022 +0100 @@ -20,9 +20,7 @@ content .alert(gameController.alertTitle, isPresented: $gameController.showingWrongAnswerAlert) { Button("Continue", role: .cancel) { - gameController.askQuestion { - gameController.selector() - } + gameController.ask() } } message: { Text(gameController.alertMessage)