Skip to content

Commit 616206b

Browse files
author
Rick Pasetto
authored
Adjust spacing a bit to reduce whitespace (#206)
This makes the settings view (at least to my eyes) more like the design spec.
1 parent 39aa266 commit 616206b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Loop/Views/SettingsView.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ extension SettingsView {
142142
Image(systemName: "plus.circle")
143143
.resizable()
144144
.scaledToFit()
145-
.accentColor(.blue)
145+
.accentColor(.accentColor)
146+
.padding(EdgeInsets(top: 10, leading: 10, bottom: 10, trailing: 10))
146147
}
147148

148149
private func deviceImage(uiImage: UIImage?) -> AnyView {
@@ -167,9 +168,9 @@ fileprivate struct LargeButton: View {
167168

168169
// TODO: The design doesn't show this, but do we need to consider different values here for different size classes?
169170
static let spacing: CGFloat = 15
170-
static let imageWidth: CGFloat = 48
171-
static let imageHeight: CGFloat = 48
172-
static let topBottomPadding: CGFloat = 20
171+
static let imageWidth: CGFloat = 60
172+
static let imageHeight: CGFloat = 60
173+
static let topBottomPadding: CGFloat = 10
173174

174175
public var body: some View {
175176
Button(action: action) {

0 commit comments

Comments
 (0)