comparison GeoQuiz/Components/GameToolbarHelper.swift @ 19:f140bb277c96

refactor code
author Dennis C. M. <dennis@denniscm.com>
date Sun, 23 Oct 2022 00:11:38 +0100
parents a793f33f05fb
children
comparison
equal deleted inserted replaced
18:d20cf93c9812 19:f140bb277c96
77 LinearGradient(gradient: .main, startPoint: .top, endPoint: .bottom) 77 LinearGradient(gradient: .main, startPoint: .top, endPoint: .bottom)
78 .ignoresSafeArea() 78 .ignoresSafeArea()
79 79
80 GeometryReader { geo in 80 GeometryReader { geo in
81 VStack { 81 VStack {
82 GameToolbar(game: CountryGame(), color: .mayaBlue) 82 GameToolbar(game: CountryGameController(), color: .mayaBlue)
83 83
84 Spacer() 84 Spacer()
85 } 85 }
86 .padding() 86 .padding()
87 } 87 }