Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix/#345] pingPongBottleList empty 인 경우 이미지 좌우 불필요한 패딩 수정 #351

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public struct BottleStorageView: View {
}
.padding(.top, 72)
.frame(maxHeight: .infinity, alignment: .top)
.frame(maxWidth: .infinity)
.background(to: ColorToken.background(.primary))
.padding(.bottom, BottleConstants.bottomTabBarHeight.value)
.setTabBar(selectedTab: .bottleStorage) { selectedTab in
Expand Down Expand Up @@ -73,34 +74,32 @@ private extension BottleStorageView {
var bottlsList: some View {
if store.pingPongBottleList.isEmpty && !store.isLoading {
VStack(alignment: .center, spacing: 0.0) {

Spacer()
BottleImageView(type: .local(bottleImageSystem: .illustraition(.basket)))
.frame(height: 180)
.frame(width: 180)
.aspectRatio(1.0, contentMode: .fit)
.padding(.bottom, .xl)

WantedSansStyleText(
"아직 대화를 시작하지 않으셨군요!",
style: .subTitle1,
color: .primary
)
.padding(.bottom, .xs)
WantedSansStyleText(
"아직 대화를 시작하지 않으셨군요!",
style: .subTitle1,
color: .primary
)
.padding(.bottom, .xs)

WantedSansStyleText(
"마음에 드는 상대를 찾아\n가치관 문답을 시작해 볼까요?",
style: .body,
color: .tertiary
)
.lineSpacing(5)
.multilineTextAlignment(.center)
.padding(.bottom, .xl)
WantedSansStyleText(
"마음에 드는 상대를 찾아\n가치관 문답을 시작해 볼까요?",
style: .body,
color: .tertiary
)
.lineSpacing(5)
.multilineTextAlignment(.center)
.padding(.bottom, .xl)

SolidButton(title: "모래사장 바로가기", sizeType: .extraSmall, buttonType: .throttle, action: { store.send(.sandBeachButtonDidTapped) })

Spacer()
}
}
} else {
ScrollView {
VStack(spacing: .md) {
Expand Down