Mercurial > public > simoleon
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Simoleon/UI/FavoritesPlaceholder.swift Sat Sep 11 16:30:32 2021 +0200 @@ -0,0 +1,34 @@ +// +// FavoritesPlaceholder.swift +// Simoleon +// +// Created by Dennis Concepción Martín on 5/9/21. +// + +import SwiftUI + +struct FavoritesPlaceholder: View { + var body: some View { + VStack { + Group { + Group { + Image(systemName: "star") + .padding(.bottom) + + Text("No Favorites") + .padding(.bottom, 5) + } + .font(.system(size: 30)) + + Text("Your favorite currencies will appear here.") + } + .foregroundColor(.secondary) + } + } +} + +struct FavoritesPlaceholder_Previews: PreviewProvider { + static var previews: some View { + FavoritesPlaceholder() + } +}