Initial Commit

This commit is contained in:
Isaac Greene 2022-04-09 22:38:57 -04:00
commit 15389248af
17 changed files with 1131 additions and 0 deletions

View file

@ -0,0 +1,43 @@
//
// ChangeLogView.swift
// Splits
//
// Created by Isaac Greene on 4/3/22.
//
import SwiftUI
struct ChangeLogView: View {
@State var showSheet = false
var body: some View {
VStack {
Button("Change log", action: {
self.showSheet.toggle()
})
.padding(.bottom, 25)
}
.sheet(isPresented: self.$showSheet, content: {
ChangeLog()
})
}
}
struct ChangeLog: View {
var body: some View {
NavigationView {
List {
Section(header: Text("2022")) {
NavigationLink("April", destination: April2022())
}
}
.listStyle(.insetGrouped)
.navigationTitle("Change log")
}
}
}
struct ChangeLog_Previews: PreviewProvider {
static var previews: some View {
ChangeLog()
}
}