File tree Expand file tree Collapse file tree 7 files changed +10
-25
lines changed
Assets.xcassets/long-form-dismiss.imageset Expand file tree Collapse file tree 7 files changed +10
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff 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 " )
Original file line number Diff line number Diff 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 } )
Original file line number Diff line number Diff 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+ } )
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff 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 } )
You can’t perform that action at this time.
0 commit comments