Skip to content

Commit e820436

Browse files
committed
Set default status text
1 parent e30d4eb commit e820436

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Shared/Samples/Augment reality to navigate route/AugmentRealityToNavigateRouteView.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ struct AugmentRealityToNavigateRouteView: View {
6161
toolbarButtons
6262
}
6363
}
64-
.onAppear {
65-
model.statusText = "Tap to place a start point."
66-
}
6764
.errorAlert(presentingError: $error)
6865
}
6966

@@ -163,7 +160,7 @@ private extension AugmentRealityToNavigateRouteView {
163160
let sceneModel = SceneModel()
164161

165162
/// The status text displayed to the user.
166-
@Published var statusText = ""
163+
@Published var statusText = "Tap to place a start point."
167164

168165
deinit {
169166
Task {

0 commit comments

Comments
 (0)