@@ -41,7 +41,7 @@ struct ContactInfoView: View {
4141 }
4242
4343 var body : some View {
44- if ContactHelper . contactHasPhone ( contact ) {
44+ if contact . hasPhone ( ) {
4545 VStack ( alignment: . leading, spacing: 3 ) {
4646 Text ( " Phone " )
4747 . font ( . caption)
@@ -52,7 +52,8 @@ struct ContactInfoView: View {
5252 . foregroundStyle ( . blue)
5353 }
5454 }
55- if ContactHelper . contactHasSecondaryPhone ( contact) {
55+
56+ if contact. hasSecondaryPhone ( ) {
5657 VStack ( alignment: . leading, spacing: 3 ) {
5758 Text ( " Secondary Phone " )
5859 . font ( . caption)
@@ -63,7 +64,8 @@ struct ContactInfoView: View {
6364 . foregroundStyle ( . blue)
6465 }
6566 }
66- if ContactHelper . contactHasEmail ( contact) {
67+
68+ if contact. hasEmail ( ) {
6769 VStack ( alignment: . leading, spacing: 3 ) {
6870 Text ( " Email " )
6971 . font ( . caption)
@@ -86,7 +88,8 @@ struct ContactInfoView: View {
8688 Button ( " Cancel " , role: . cancel) { }
8789 }
8890 }
89- if ContactHelper . contactHasSecondaryEmail ( contact) {
91+
92+ if contact. hasSecondaryEmail ( ) {
9093 VStack ( alignment: . leading, spacing: 3 ) {
9194 Text ( " Secondary Email " )
9295 . font ( . caption)
@@ -99,7 +102,8 @@ struct ContactInfoView: View {
99102 . foregroundStyle ( . blue)
100103 }
101104 }
102- if ContactHelper . contactHasAddress ( contact) {
105+
106+ if contact. hasAddress ( ) {
103107 VStack ( alignment: . leading, spacing: 3 ) {
104108 Text ( " Address " )
105109 . font ( . caption)
@@ -109,7 +113,8 @@ struct ContactInfoView: View {
109113 . foregroundStyle ( . blue)
110114 }
111115 }
112- if ContactHelper . contactHasSecondaryAddress ( contact) {
116+
117+ if contact. hasSecondaryAddress ( ) {
113118 VStack ( alignment: . leading, spacing: 3 ) {
114119 Text ( " Secondary Address " )
115120 . font ( . caption)
@@ -119,7 +124,8 @@ struct ContactInfoView: View {
119124 . foregroundStyle ( . blue)
120125 }
121126 }
122- if ContactHelper . contactHasBirthday ( contact) {
127+
128+ if contact. hasBirthday ( ) {
123129 VStack ( alignment: . leading, spacing: 3 ) {
124130 Text ( " Birthday " )
125131 . font ( . caption)
@@ -133,7 +139,8 @@ struct ContactInfoView: View {
133139 }
134140 }
135141 }
136- if ContactHelper . contactHasAnniversary ( contact) {
142+
143+ if contact. hasAnniversary ( ) {
137144 VStack ( alignment: . leading, spacing: 3 ) {
138145 Text ( " Anniversary " )
139146 . font ( . caption)
0 commit comments