comparison Simoleon/UI/FavoritesPlaceholder.swift @ 166:e4cbb1eea394

Implement FavoritesView
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Sat, 11 Sep 2021 16:30:32 +0200
parents
children
comparison
equal deleted inserted replaced
165:6f024e6a3b19 166:e4cbb1eea394
1 //
2 // FavoritesPlaceholder.swift
3 // Simoleon
4 //
5 // Created by Dennis Concepción Martín on 5/9/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 }