Skip to content

Commit 27ea94b

Browse files
authored
[LOOP-4762] Fix Alert Management Icon Alignment
2 parents de382e6 + af427d0 commit 27ea94b

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

Loop/DefaultAssets.xcassets/hardware.imageset/Contents.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"images" : [
33
{
4-
"filename" : "Group 3403.pdf",
4+
"filename" : "hardware.pdf",
55
"idiom" : "universal"
66
}
77
],
-9.3 KB
Binary file not shown.
7.13 KB
Binary file not shown.

Loop/DefaultAssets.xcassets/phone.imageset/Contents.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"images" : [
33
{
4-
"filename" : "Group 3405.pdf",
4+
"filename" : "phone.pdf",
55
"idiom" : "universal"
66
}
77
],
-1.85 KB
Binary file not shown.
1.84 KB
Binary file not shown.

Loop/Views/AlertManagementView.swift

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ struct AlertManagementView: View {
7575

7676
private var footerView: some View {
7777
VStack(alignment: .leading, spacing: 24) {
78-
HStack(alignment: .top, spacing: 8) {
78+
HStack(alignment: .top, spacing: 16) {
7979
Image("phone")
8080
.resizable()
8181
.aspectRatio(contentMode: .fit)
82-
.frame(maxWidth: 64, maxHeight: 64)
82+
.frame(width: 54)
8383

8484
VStack(alignment: .leading, spacing: 4) {
8585
Text(
@@ -104,11 +104,11 @@ struct AlertManagementView: View {
104104
}
105105
}
106106

107-
HStack(alignment: .top, spacing: 8) {
107+
HStack(alignment: .top, spacing: 16) {
108108
Image("hardware")
109109
.resizable()
110110
.aspectRatio(contentMode: .fit)
111-
.frame(maxWidth: 64, maxHeight: 64)
111+
.frame(width: 54)
112112

113113
VStack(alignment: .leading, spacing: 4) {
114114
Text("HARDWARE SOUNDS")
@@ -117,12 +117,13 @@ struct AlertManagementView: View {
117117
}
118118
}
119119

120-
HStack(alignment: .top, spacing: 8) {
120+
HStack(alignment: .top, spacing: 16) {
121121
Image(systemName: "moon.fill")
122122
.resizable()
123123
.aspectRatio(contentMode: .fit)
124-
.frame(maxWidth: 64, maxHeight: 48)
124+
.frame(width: 44)
125125
.foregroundColor(.accentColor)
126+
.padding(.horizontal, 5)
126127

127128
VStack(alignment: .leading, spacing: 4) {
128129
Text("IOS FOCUS MODES")

0 commit comments

Comments
 (0)