Added toolbar to the textfields in ContentView and you can now type zero without the app crashing

This commit is contained in:
Isaac Greene 2022-06-15 23:20:42 -04:00
parent b6677c2053
commit 7aa899ca7d
6 changed files with 228 additions and 78 deletions

View file

@ -13,7 +13,7 @@ struct RecentlyResolved: View {
var body: some View {
ScrollView {
VStack(alignment: .leading) {
Text("\u{2022} Implemented an easy way to dismiss the keyboard in the main view of Calculator (it only took 2 1/2 months)\n\u{2022} Opening the contacts tab no longer causes the app to crash (RC 2)")
Text("\u{2022} Implemented an easy way to dismiss the keyboard in the main view of Calculator (it only took 2 1/2 months)\n\u{2022} Opening the contacts tab no longer causes the app to crash (RC 2)\n\u{2022} Typing zero as the first number for the distance no longer causes the app to crash")
}
.padding(30)
}
@ -25,7 +25,7 @@ struct HighPriority: View {
var body: some View {
ScrollView {
VStack {
Text("\u{2022} Putting a zero as the first number in the Distance text field causes the app to crash\n\t\u{2022} **Workaround:** Just don't put zero first. You can still use decimals (like .7km and .24mi)")
Text("\u{2022} Entering a distance of less than 0.1 per unit causes the app to crash\n\t**Workaround:** RIP to you if this applies")
}
.padding(30)
}