Skip to content

Commit

Permalink
fix #93: 홈 진입 뷰 자연스럽게 수정
Browse files Browse the repository at this point in the history
서버값 받아온 후 뷰 그리도록 수정
  • Loading branch information
0inn committed Sep 13, 2023
1 parent 54ad953 commit 5ef0033
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions Projects/Features/Sources/Home/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,21 @@ public struct HomeView: View {
ZStack(alignment: .center) {
DSKitAsset.Color.keymeBlack.swiftUIColor.ignoresSafeArea()

VStack {
if(viewStore.isSolvedDailyTest) {
dailyTestListView
} else {
startTestView
if(viewStore.dailyTestId != nil) {
VStack {
if(viewStore.isSolvedDailyTest) {
dailyTestListView
} else {
startTestView
}

Spacer()

bottomButton(viewStore)

Spacer()
.frame(height: 26)
}

Spacer()

bottomButton(viewStore)

Spacer()
.frame(height: 26)
}
}
.onAppear {
Expand Down

0 comments on commit 5ef0033

Please sign in to comment.