comparison GeoQuiz/Helpers/ActivityAlert.swift @ 26:425078c01194

refactor code
author Dennis C. M. <dennis@denniscm.com>
date Wed, 09 Nov 2022 10:30:01 +0100
parents GeoQuiz/Components/ActivityAlert.swift@e281791e0494
children
comparison
equal deleted inserted replaced
25:b3df0f5dc750 26:425078c01194
1 //
2 // ActivityAlert.swift
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 }