Skip to content

Commit 067d6f9

Browse files
committed
Updated Close icons with system icon
1 parent ab73920 commit 067d6f9

File tree

7 files changed

+10
-25
lines changed

7 files changed

+10
-25
lines changed

GoInfoGame/GoInfoGame/Assets.xcassets/long-form-dismiss.imageset/Contents.json

Lines changed: 0 additions & 21 deletions
This file was deleted.
Binary file not shown.

GoInfoGame/GoInfoGame/Helpers/Generated/XCAssets+Generated.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ internal enum Asset {
346346
internal static let tactilePavingIllustration = ImageAsset(name: "tactile_paving_illustration")
347347
}
348348
internal static let logo = ImageAsset(name: "logo")
349-
internal static let longFormDismiss = ImageAsset(name: "long-form-dismiss")
350349
internal static let mapPoint = ImageAsset(name: "mapPoint")
351350
internal static let mapicon = ImageAsset(name: "mapicon")
352351
internal static let noImage = ImageAsset(name: "no_image")

GoInfoGame/GoInfoGame/UI/UserSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct UserSettingsView: View {
4848
Button(action: {
4949
presentationMode.wrappedValue.dismiss()
5050
}, label: {
51-
Image("long-form-dismiss")
51+
Image(systemName: "xmark.circle")
5252
.resizable()
5353
.frame(width: 25, height: 25)
5454
})

GoInfoGame/GoInfoGame/UI/Utils/LoadingView.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct LongFormDismissButtonView: View {
6161
MapViewPublisher.shared.dismissSheet.send(.dismissed)
6262

6363
}, label: {
64-
Image("long-form-dismiss")
64+
Image(systemName: "xmark.circle")
6565
.resizable()
6666
.aspectRatio(contentMode: .fit)
6767
.frame(width: 25, height: 25)
@@ -70,3 +70,9 @@ struct LongFormDismissButtonView: View {
7070
}
7171
}
7272
}
73+
74+
#Preview(body: {
75+
LongFormDismissButtonView {
76+
77+
}
78+
})

GoInfoGame/GoInfoGame/UI/Utils/UndoSidebarView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ struct UndoSidebarView: View {
2727
Spacer()
2828
Button(action: onClose) {
2929
Image(systemName: "xmark.circle.fill")
30+
.foregroundStyle(Asset.Colors.accentPink.swiftUIColor)
3031
}
3132
}
3233
.foregroundColor(Asset.Colors.huskyPurple.swiftUIColor)

GoInfoGame/GoInfoGame/quests/QuestCategory/UI/ManageQuestsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct ManageQuestsView: View {
2525
Button(action: {
2626
presentationMode.wrappedValue.dismiss()
2727
}, label: {
28-
Image("long-form-dismiss")
28+
Image(systemName: "xmark.circle")
2929
.resizable()
3030
.frame(width: 25, height: 25)
3131
})

0 commit comments

Comments
 (0)