Mercurial > public > geoquiz
annotate GeoQuiz/Components/ActivityAlert.swift @ 20:e281791e0494
finish implementation
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Sun, 23 Oct 2022 11:48:39 +0100 |
parents | GeoQuiz/Components/ActivityAlertHelper.swift@bdfff35dd43c |
children |
rev | line source |
---|---|
13 | 1 // |
20 | 2 // ActivityAlert.swift |
13 | 3 // GeoQuiz |
4 // | |
5 // Created by Dennis Concepción Martín on 12/10/22. | |
6 // | |
7 | |
8 import SwiftUI | |
9 | |
10 struct ActivityAlert: View { | |
11 var body: some View { | |
12 VStack(spacing: 10) { | |
13 ProgressView() | |
14 Text("Loading") | |
15 } | |
16 .padding() | |
17 .background(.regularMaterial) | |
18 .cornerRadius(10) | |
19 } | |
20 } | |
21 | |
22 struct ActivityAlert_Previews: PreviewProvider { | |
23 static var previews: some View { | |
24 ActivityAlert() | |
25 } | |
26 } |