Did some major reformatting of the Change Log tab (now Docs) and will hopefully get to adding some more actual features soon

This commit is contained in:
Isaac Greene 2022-06-04 23:05:37 -04:00
parent 5578d86ccf
commit 7b421a0a73
9 changed files with 294 additions and 45 deletions

View file

@ -8,7 +8,7 @@
import SwiftUI
import RichTextView
struct ModalView: View {
struct HelpView: View {
@State var mathSheet = false
@State var problemSheet = false
@ -19,7 +19,7 @@ struct ModalView: View {
.bold()
.padding(.top, 40)
Text("Due to limitations in our system, you can only use kilometers and miles at this time. \nSmaller units like meters and feet are not supported. \nYou can, however, use decimals, such as .2km or .8mi.\n\nWe apologize for any inconvenience. In the future, we hope to make our app easier to use.")
Text("Due to limitations in the system, you can only use kilometers and miles at this time. \nSmaller units like meters and feet are not supported. \nYou can, however, use decimals, such as .2km or .8mi.\n\nI apologize for any inconvenience. In the future, I hope to make our app easier to use.\n\nI'm currently looking to add help articles about running to this page and it'll have loads of stuff about running and pace and all that stuff to actually help you with running. If I do, the purpose of this app might change.")
.padding()
Button("See our math", action: {
@ -29,15 +29,6 @@ struct ModalView: View {
.sheet(isPresented: self.$mathSheet, content: {
algorithmView()
})
Button("Known issues", action: {
self.problemSheet.toggle()
})
.padding(30)
.padding(.top, -30)
.sheet(isPresented: self.$problemSheet, content: {
problemView()
})
}
}
}
@ -109,16 +100,3 @@ struct mathLaTeX_inator: UIViewRepresentable {
)
}
}
struct problemView: View {
var body: some View {
VStack {
Text("Known issues")
.font(.largeTitle)
.bold()
.padding(.top, 40)
Text("\n\u{2022} You can not dismiss the keyboard\n\t\u{2022} This hides the tab bar at the bottom so you can't navigate the app")
.padding()
}
}
}