Skip to content

Commit

Permalink
feat :: new notice 있을 때 급식 위치 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
HongSJae committed Mar 4, 2023
1 parent bff979d commit 179c328
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
1 change: 1 addition & 0 deletions Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ let targets: [Target] = [
platform: .iOS,
product: .appExtension,
bundleId: "\(Environment.organizationName).\(Environment.targetName).WidgetExtension",
deploymentTarget: Environment.deploymentTarget,
infoPlist: .file(path: "AppExtension/Support/Widget-Info.plist"),
sources: ["AppExtension/Sources/**"],
resources: ["AppExtension/Resources/**"],
Expand Down
25 changes: 14 additions & 11 deletions Projects/Features/HomeFeature/Sources/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,22 @@ struct HomeView: View {
}
}

Text("오늘의 급식")
.dmsFont(.title(.title1), color: .GrayScale.gray7)
.padding(.top, 16)
VStack {
Text("오늘의 급식")
.dmsFont(.title(.title1), color: .GrayScale.gray7)
.padding(.top, 16)

selectDateView()
.padding(.top, 24)
selectDateView()
.padding(.top, 24)

MealCarouselView(
meal: viewModel.selectedDateMeal,
isLoading: $viewModel.isLoading
)
.padding(.top, 36)
.padding(.bottom, 50)
MealCarouselView(
meal: viewModel.selectedDateMeal,
isLoading: $viewModel.isLoading
)
.padding(.top, 36)
}
.padding(.top, viewModel.isExistNewNotice ? 0 : 30)
Spacer()
}
}
}
Expand Down

0 comments on commit 179c328

Please sign in to comment.