Skip to content

Commit 08aba80

Browse files
set alert buttons spacing
1 parent f9f144a commit 08aba80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/ComponentsKit/Components/Alert/SUAlert.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ extension View {
7272
footer: {
7373
switch AlertButtonsOrientationCalculator.preferredOrientation(model: model) {
7474
case .horizontal:
75-
HStack {
75+
HStack(spacing: AlertVM.buttonsSpacing) {
7676
AlertButton(
7777
isAlertPresented: isPresented,
7878
model: model.secondaryButtonVM,
@@ -85,7 +85,7 @@ extension View {
8585
)
8686
}
8787
case .vertical:
88-
VStack {
88+
VStack(spacing: AlertVM.buttonsSpacing) {
8989
AlertButton(
9090
isAlertPresented: isPresented,
9191
model: model.primaryButtonVM,

0 commit comments

Comments
 (0)