commit f0de8721c7b40c4273ed3ba86732462e7d3bb3e4
parent d11cd76e6afec428629579cf65afd119ff82cef8
Author: doffing.brett <doffing.brett@gmail.com>
Date: Mon, 24 Jul 2023 15:37:30 -0500
Center and Pad buttons in EULA
Diffstat:
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/damus/Views/EULAView.swift b/damus/Views/EULAView.swift
@@ -68,14 +68,14 @@ struct EULAView: View {
Markdown(eula)
.padding()
}
- .padding(EdgeInsets(top: 20, leading: 10, bottom: 50, trailing: 10))
-
+ .padding(EdgeInsets(top: 20, leading: 10, bottom: 60, trailing: 10))
+
VStack {
Spacer()
-
+
HStack {
Spacer()
-
+
Button(action: {
dismiss()
}) {
@@ -91,7 +91,9 @@ struct EULAView: View {
.fill(DamusColors.darkGrey, strokeBorder: DamusColors.mediumGrey, lineWidth: 1)
}
}
-
+
+ Spacer()
+
Button(action: {
nav.push(route: Route.Login)
}) {
@@ -102,9 +104,11 @@ struct EULAView: View {
.frame(minWidth: 75, maxHeight: 12, alignment: .center)
}
.buttonStyle(GradientButtonStyle())
+
+ Spacer()
}
- .padding(.trailing, 30)
}
+ .padding(.bottom, 5)
}
.background(
Image("eula-bg")