Aug 19 - Fixed photo-loss issue
This commit is contained in:
@@ -298,7 +298,11 @@ struct StartInspectionView: View {
|
||||
}
|
||||
.navigationDestination(isPresented: $navigateToExecution) {
|
||||
if let inspection = createdInspection {
|
||||
ExecuteInspectionView(inspection: inspection)
|
||||
// onFinished closes THIS cover rather than just popping back
|
||||
// to the form the inspector already finished with — see the
|
||||
// property's doc comment on ExecuteInspectionView.
|
||||
ExecuteInspectionView(inspection: inspection,
|
||||
onFinished: { dismiss() })
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
|
||||
Reference in New Issue
Block a user