chore: 调整文案位置
This commit is contained in:
parent
ccdc46236d
commit
89e72ae987
@ -10,6 +10,6 @@ struct BlindBoxTitleView: View {
|
||||
.fontWeight(.bold)
|
||||
.foregroundColor(Color.themeTextMessageMain)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.padding(.horizontal)
|
||||
.padding(.horizontal, Theme.Spacing.xl)
|
||||
}
|
||||
}
|
||||
|
||||
@ -156,12 +156,12 @@ struct BlindBoxView: View {
|
||||
.compositingGroup()
|
||||
.padding()
|
||||
// 非 opening 阶段显示文字
|
||||
if animationPhase != .opening {
|
||||
if animationPhase == .ready {
|
||||
BlindBoxDescriptionView(
|
||||
name: viewModel.blindGenerate?.name ?? "Some box",
|
||||
description: viewModel.blindGenerate?.description ?? ""
|
||||
)
|
||||
.offset(x: -10, y: UIScreen.main.bounds.height * 0.2)
|
||||
.offset(x: 0, y: UIScreen.main.bounds.height * 0.2)
|
||||
}
|
||||
}
|
||||
.padding()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user