From ada8d48c1b2f558ffcd3989e62283449fa20bd0b Mon Sep 17 00:00:00 2001 From: erik-keifer <69150393+erik-keifer@users.noreply.github.com> Date: Thu, 9 Apr 2026 22:20:34 -0700 Subject: [PATCH] Update BehaviorOnboardingView.swift Allow users to edit sleep behavior factors in Settings --- SleepFocus/Screens/BehaviorOnboardingView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SleepFocus/Screens/BehaviorOnboardingView.swift b/SleepFocus/Screens/BehaviorOnboardingView.swift index e149783..50a5fa6 100644 --- a/SleepFocus/Screens/BehaviorOnboardingView.swift +++ b/SleepFocus/Screens/BehaviorOnboardingView.swift @@ -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 @@ -15,7 +15,7 @@ private struct BehaviorQuestion: Identifiable { // MARK: - Questions -private let allQuestions: [BehaviorQuestion] = [ +let allQuestions: [BehaviorQuestion] = [ // BEHAVIOR BehaviorQuestion( @@ -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 @@ -379,4 +379,4 @@ private struct AnswerButton: View { BehaviorOnboardingView(store: BehaviorProfileStore()) { print("Onboarding complete") } -} +}