Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 34 additions & 3 deletions SleepFocus/Screens/BehaviorOnboardingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import SwiftUI

// MARK: - Question Model

private struct BehaviorQuestion: Identifiable {
struct BehaviorQuestion: Identifiable {
let id: Int
let category: String
let categoryIcon: String
Expand All @@ -15,7 +15,7 @@ private struct BehaviorQuestion: Identifiable {

// MARK: - Questions

private let allQuestions: [BehaviorQuestion] = [
let allQuestions: [BehaviorQuestion] = [

// BEHAVIOR
BehaviorQuestion(
Expand Down Expand Up @@ -336,7 +336,7 @@ struct BehaviorOnboardingView: View {

// MARK: - Answer Button

private struct AnswerButton: View {
struct AnswerButton: View {
let label: String
let answer: BehaviorAnswer
let selected: BehaviorAnswer
Expand Down Expand Up @@ -380,3 +380,34 @@ private struct AnswerButton: View {
print("Onboarding complete")
}
}































Loading