Added tab view and restructured code to have just three tabs. Also got minutes to hours overflow working, seconds has currently gotten worse in functionality. See change log in-app for more details

This commit is contained in:
Isaac Greene 2022-04-10 00:16:34 -04:00
parent 15389248af
commit 8cb3960507
5 changed files with 103 additions and 98 deletions

View file

@ -10,13 +10,22 @@ import SwiftUI
struct April2022: View {
var body: some View {
ScrollView {
//2022-04-10
VStack (alignment: .leading) {
Text("2022-04-10")
.font(.title2)
Text("Version Prerelease Build LVSXT10l\n")
.font(.footnote)
Text("\u{2022} Added known issues view.\n\t\u{2022} Might add this to the change log navigation at the bottom in the future")
}
//2022-04-09
VStack (alignment: .leading) {
Text("2022-04-09:")
.font(.title2)
Text("Version Prerelease Build LVSXT10q\n")
Text("Version Prerelease Build LVSXT10n\n")
.font(.footnote)
Text("\u{2022} Fixed the math with seconds so now you can actually use them! YEAH BABY!\n\u{2022} Rounded pace so that you don't get values like 4.999999999999996 minutes per km\n\t\u{2022} Working on getting the seconds to change into minutes like 340 seconds will show as 5 minutes 40 seconds or \"0:05:40\"\n\u{2022} Removed warning about not using seconds (because they work now!)\n\u{2022} Got math color right. Issue was I had my colors switched so it showed black text in dark mode, and white text in light mode.\n\u{2022} Fixed distance between time boxes\n\u{2022} Removed text about not using seconds greater than 59 in text field")
Text("\u{2022} Fixed the math with seconds so now you can actually use them! YEAH BABY!\n\u{2022} Rounded pace so that you don't get values like 4.999999999999996 minutes per km\n\t\u{2022} Working on getting the seconds to change into minutes like 340 seconds will show as 5 minutes 40 seconds or \"0:05:40\"\n\u{2022} Removed warning about not using seconds (because they work now!)\n\u{2022} Got math color right. Issue was I had my colors switched so it showed black text in dark mode, and white text in light mode.\n\u{2022} Fixed distance between time boxes\n\u{2022} Removed text about not using seconds greater than 59 in text field\n\u{2022} Properly implemented tab view so that each view gets ONE (1) tab\n\u{2022} Added Git which I should've done long ago\n\u{2022} Tweaked various visual elements. For some reason, SF Symbols doesn't have a calculator??? So instead I'm using \"candybarphone\" but \"building\" looked good, too\n\u{2022} Got overflow of minutes working so now 100 minutes will show as 1 hour 40 minutes.\n\t\u{2022} Seconds overflow does not work (see known issues)")
}
.padding(30)