comparison Simoleon/Helpers/FavouriteButton.swift @ 27:d95582268b44

Fix bug CoreData and minor UI changes
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Wed, 21 Jul 2021 12:36:10 +0100
parents 337816652bfe
children d25b02d439d4
comparison
equal deleted inserted replaced
26:337816652bfe 27:d95582268b44
20 } else { 20 } else {
21 addToFavourites() 21 addToFavourites()
22 simpleSuccess() 22 simpleSuccess()
23 } 23 }
24 }) { 24 }) {
25 RoundedRectangle(cornerRadius: 25) 25 RoundedRectangle(cornerRadius: 15)
26 .foregroundColor(Color(.secondarySystemBackground)) 26 .foregroundColor(Color(.secondarySystemBackground))
27 .frame(width: 65, height: 65) 27 .frame(width: 60, height: 60)
28 .overlay( 28 .overlay(
29 Image(systemName: generateStar()) 29 Image(systemName: generateStar())
30 .font(.system(size: 28)) 30 .font(.system(size: 28))
31 .foregroundColor(Color(.systemYellow)) 31 .foregroundColor(Color(.systemYellow))
32 32