Skip to content

Commit f52a690

Browse files
committed
53-Updating-UIHomeView
1 parent ac8d000 commit f52a690

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

EatHub/EatHub/Modules/Home/HomeView.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,23 @@ struct HomeView: View {
2929

3030
ScrollView(.vertical) {
3131
VStack(alignment: .leading, spacing: Constants.listSpacing) {
32+
33+
Text("Последнее")
34+
.font(.title2)
35+
.fontWeight(.semibold)
36+
.padding(.horizontal)
3237
HorizontalListSection(meals: viewModel.horizontalMeals) { meal in
3338
withAnimation(.easeInOut(duration: Constants.animationDuration)) {
3439
selectedMeal = meal
3540
showDetail = true
3641
}
3742
}
43+
44+
Text("Случайное")
45+
.font(.title2)
46+
.fontWeight(.semibold)
47+
.padding(.horizontal)
48+
.padding(.vertical)
3849
VerticalListSection(
3950
meals: viewModel.verticalMeals,
4051
namespace: animationNamespace

0 commit comments

Comments
 (0)