Skip to content

Commit 589f33a

Browse files
committed
Show instruction text when geocoding fails or is unavailable.
1 parent 010a401 commit 589f33a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

WooCommerce/Classes/ViewModels/Order Details/OrderDetailsShippingAddressMapView.swift

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@ struct OrderDetailsShippingAddressMapView: View {
3636
RoundedRectangle(cornerRadius: Layout.cornerRadius)
3737
.fill(Color.gray.opacity(0.2))
3838
.overlay(
39-
Image(systemName: "map")
40-
.foregroundColor(.gray)
41-
.font(.title2)
39+
VStack(spacing: 8) {
40+
Image(systemName: "map")
41+
.foregroundColor(.gray)
42+
.font(.title2)
43+
Text(Localization.tapToOpenInMaps)
44+
.font(.caption2)
45+
.foregroundColor(.secondary)
46+
}
4247
)
4348
.contentShape(Rectangle())
4449
.onTapGesture {

0 commit comments

Comments
 (0)