Skip to content

Commit 64e38ca

Browse files
committed
fixed add contact button
1 parent f5ad0fe commit 64e38ca

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

fall-detector/Views/Register1View.swift

+3-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ struct Register1View: View {
5252
showAddErr = true
5353
}
5454
}) {
55-
MainButton(title: "Add Contact", image: "phone.fill.badge.plus", color: MyColours.p0)
55+
MainButton(title: "Add Contact", image: "phone.fill.badge.plus", color: Color.white)
56+
.frame(width: UIScreen.screenWidth - 65)
5657
}
57-
.buttonStyle(ClassicButtonStyle(useGradient: false))
58+
.buttonStyle(ClassicButtonStyle(useGradient: true))
5859
}
5960
.modifier(SectionStyle())
6061
}

fall-detector/Views/mnAccountView.swift

+3-2
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,10 @@ struct mnAccountView: View {
127127
showAddErr = true
128128
}
129129
}) {
130-
MainButton(title: "Add Contact", image: "phone.fill.badge.plus", color: MyColours.p0)
130+
MainButton(title: "Add Contact", image: "phone.fill.badge.plus", color: Color.white)
131+
.frame(width: UIScreen.screenWidth - 65)
131132
}
132-
.buttonStyle(ClassicButtonStyle(useGradient: false))
133+
.buttonStyle(ClassicButtonStyle(useGradient: true))
133134
}
134135
.modifier(SectionStyle())
135136
}

0 commit comments

Comments
 (0)