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

@ -10,6 +10,19 @@ import SwiftUI
struct June2022: View {
var body: some View {
ScrollView {
//2022-06-15
HStack {
VStack (alignment: .leading) {
Text("2022-06-15")
.font(.title2)
Text("Version Prerelease Build LVSXT10a.3\n")
.font(.footnote)
Text("\u{2022} Fixed an issue where typing zero for the distance caused the app to crash\n\u{2022} Implemented a way to navigate between text fields and redid the Done button to make it fit better")
}
Spacer()
}
.padding(30)
//2022-06-14
HStack {
VStack (alignment: .leading) {
@ -17,18 +30,19 @@ struct June2022: View {
.font(.title2)
Text("Version Prerelease Build LVSXT10a.3\n")
.font(.footnote)
Text("\u{2022} Optimized some code to allow for future development\n\u{2022} Starting on fixing an issue where putting a zero as the first number in the Distance field causes the app to crash\n\u{2022} Partially added more robust app documentation")
Text("\u{2022} Optimized some code to allow for future development\n\u{2022} Starting on fixing an issue where putting a zero as the first number in the Distance field causes the app to crash\n\u{2022} Started work on more robust app documentation")
}
Spacer()
}
.padding(30)
//2022-06-11
// LVSXT10a.2
HStack {
VStack (alignment: .leading) {
Text("2022-06-11")
.font(.title2)
Text("Version Release Candidate 2 (LVSXT10a.2)\n")
Text("Version Release Candidate 2\n")
.font(.footnote)
Text("\u{2022} Added biometrics to sign in along with option for username/password")
}
@ -37,11 +51,12 @@ struct June2022: View {
.padding(30)
//2022-06-10
// LVSXT10a
HStack {
VStack (alignment: .leading) {
Text("2022-06-10")
.font(.title2)
Text("Version Release Candidate (LVSXT10a)\n")
Text("Version Release Candidate\n")
.font(.footnote)
Text("\u{2022} Got the conversion of paces to work, so a 5:00/km pace will also show as 8:03/mi\n\u{2022} This app is now considered \"Finished\" and will transition to Version Numbers\n\u{2022} FINALLY MADE A WAY TO DISMISS THE KEYBOARD\n\t\u{2022} (as with most of the other solutions I've had to use for other problems in this app, the fix was remarkably easy)\n\u{2022} Made several small quality-of-life improvements")
}