Skip to content

Commit

Permalink
Merge pull request #79 from DeveloperAcademy-POSTECH/feat/#42
Browse files Browse the repository at this point in the history
Fix : dosageType 기본값 넣기
  • Loading branch information
teabag759 authored May 24, 2024
2 parents e2a4d65 + 4fbb2e1 commit 0601034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MC2-Team3-Pilling/View/ChooseStatusView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct ChooseStatusView: View {
@State private var swellingToggle = false
@State var sideEffectMemo: String = ""

@State private var dosageType: DosageType
@State private var dosageType: DosageType = .notYet

@Binding var showingChooseStatus: Bool
@Binding var dayData: DayData
Expand Down
1 change: 1 addition & 0 deletions MC2-Team3-Pilling/View/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ struct MainView: View {
@State private var selectedPill: PillInfo?
@Query(sort:\DayData.num) var sortedDay:[DayData]
@State var dayData = DayData(num: 1)
// @State var dosageType
@State var imageNum = 0
var body: some View {

Expand Down

0 comments on commit 0601034

Please sign in to comment.