Fix bug with adding photos to cap
This commit is contained in:
parent
566163d1d0
commit
fac2e06967
@ -112,6 +112,7 @@ struct CameraView: View {
|
||||
|
||||
private func dismiss() {
|
||||
isPresented = false
|
||||
self.capId = nil
|
||||
}
|
||||
|
||||
private func capture() {
|
||||
|
@ -319,6 +319,7 @@ struct ContentView: View {
|
||||
}
|
||||
database.save(image, for: cap.id)
|
||||
database.image = nil
|
||||
capIdOfNextPhoto = nil
|
||||
}
|
||||
|
||||
private func saveNewCap() {
|
||||
|
Loading…
Reference in New Issue
Block a user