Created
October 11, 2019 19:52
-
-
Save azamsharp/ef2f058821c9bd517ecaac2f19b51ecc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct TotalLikes: View { | |
@EnvironmentObject var userSettings: UserSettings | |
var body: some View { | |
HStack { | |
Text("Total Likes: ") | |
Text("\(userSettings.likes)") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment