comparison Simoleon/Helpers/FavoriteButton.swift @ 138:081f0857af51

Fix test crashing
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Mon, 16 Aug 2021 19:10:25 +0100
parents 501ea028ea5e
children
comparison
equal deleted inserted replaced
137:edc8719905fe 138:081f0857af51
25 Image(systemName: generateStar(favoriteCurrencyPairs)) 25 Image(systemName: generateStar(favoriteCurrencyPairs))
26 .font(.system(size: 28)) 26 .font(.system(size: 28))
27 .foregroundColor(Color(.systemYellow)) 27 .foregroundColor(Color(.systemYellow))
28 ) 28 )
29 } 29 }
30 .accessibilityIdentifier("AddToFavorites")
30 } 31 }
31 32
32 /* 33 /*
33 If currency pair is favorite: 34 If currency pair is favorite:
34 * Button action is to remove from favorites 35 * Button action is to remove from favorites