From 1c2d7ff399b970daabb48f73db5570cf423a4f73 Mon Sep 17 00:00:00 2001 From: shun sugawara <38254223+shunsugawara@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:03:49 +0900 Subject: [PATCH] added margin to timetable grid view #618 --- .../TimetableFeature/TimetableListView.swift | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app-ios/Sources/TimetableFeature/TimetableListView.swift b/app-ios/Sources/TimetableFeature/TimetableListView.swift index 4fedc86b6..3b020c3f2 100644 --- a/app-ios/Sources/TimetableFeature/TimetableListView.swift +++ b/app-ios/Sources/TimetableFeature/TimetableListView.swift @@ -103,8 +103,8 @@ struct TimetableListView: View { .onAppear { store.send(.view(.onAppear)) }.background(AssetColors.Surface.surface.swiftUIColor) - // bottom floating tabbar padding - Color.clear.padding(.bottom, 60) + + bottomTabBarPadding } } } @@ -154,8 +154,10 @@ struct TimetableGridView: View { } } } + .padding(.trailing) + + bottomTabBarPadding } - } } @@ -190,6 +192,11 @@ struct TimeGroupMiniList: View { } } +fileprivate var bottomTabBarPadding: some View { + // bottom floating tabbar padding + Color.clear.padding(.bottom, 60) +} + extension RoomType { func toRoom() -> TimetableRoom { switch self {