Aug 19 - Fixed photo-loss issue

This commit is contained in:
Nguyen Ngo
2026-08-19 10:31:20 -04:00
parent 7cbc514c39
commit e31cd7e1ff
13 changed files with 856 additions and 149 deletions
@@ -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 {