Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunn committed Sep 2, 2024
1 parent 213483e commit 9f2ebfd
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import SwiftUI
struct DuckPlayerOnboardingModalView: View {
private enum Constants {
static let outerContainerWidth: CGFloat = 504
static let smallContainerHeight: CGFloat = 182
static let bigContainerHeight: CGFloat = 366
static let smallContainerHeight: CGFloat = 166
static let bigContainerHeight: CGFloat = 350
static let containerCornerRadius: CGFloat = 12
static let darkModeBorderColor: Color = .white.opacity(0.2)
static let whiteModeBorderColor: Color = .black.opacity(0.1)
Expand Down Expand Up @@ -79,7 +79,7 @@ private enum Constants {

enum Layout {
static let modalOuterVerticalSpacing: CGFloat = 20
static let modalInnerVerticalSpacing: CGFloat = 16
static let modalInnerVerticalSpacing: CGFloat = 8
}
}

Expand Down Expand Up @@ -298,15 +298,15 @@ private struct SecondaryCTAStyle: ButtonStyle {
}, notNowPressed: {

})
.frame(width: 504, height: 326)

Divider()
.padding()

DuckPlayerOnboardingConfirmationView(voidButtonPressed: {

})
.frame(width: 504, height: 152)
}
.frame(width: 504)
.fixedSize()
.padding()
}

0 comments on commit 9f2ebfd

Please sign in to comment.