Mercurial > public > simoleon
comparison Simoleon/Helpers/FavoritesPlaceholder.swift @ 187:13d5a8deb6c2
add AboutView and FavoritesView
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Thu, 23 Dec 2021 16:12:22 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
186:1ebd1c5dd302 | 187:13d5a8deb6c2 |
---|---|
1 // | |
2 // FavoritesPlaceholder.swift | |
3 // Simoleon | |
4 // | |
5 // Created by Dennis Concepción Martín on 23/12/21. | |
6 // | |
7 | |
8 import SwiftUI | |
9 | |
10 struct FavoritesPlaceholder: View { | |
11 var body: some View { | |
12 VStack { | |
13 Group { | |
14 Group { | |
15 Image(systemName: "star") | |
16 .padding(.bottom) | |
17 | |
18 Text("No Favorites") | |
19 .padding(.bottom, 5) | |
20 } | |
21 .font(.system(size: 30)) | |
22 | |
23 Text("Your favorite currencies will appear here.") | |
24 } | |
25 .foregroundColor(.secondary) | |
26 } | |
27 } | |
28 } | |
29 | |
30 struct FavoritesPlaceholder_Previews: PreviewProvider { | |
31 static var previews: some View { | |
32 FavoritesPlaceholder() | |
33 } | |
34 } |