blowup now locks out subsequent rolls, unit tests added
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
import SwiftUI
|
||||
|
||||
struct OnboardingView: View {
|
||||
private var courses = DTCourse.pages
|
||||
private let courses = DTCourse.pages
|
||||
@State private var selection = 0
|
||||
@EnvironmentObject var current: Roll
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
TabView(selection: $selection) {
|
||||
ForEach(courses.indices) { idx in
|
||||
ForEach(courses.indices, id: \.self) { idx in
|
||||
VStack(spacing: 0) {
|
||||
Spacer()
|
||||
Text(courses[idx].title)
|
||||
|
||||
Reference in New Issue
Block a user