clean up video
This commit is contained in:
1 parent
aaf5051eeb
commit
913110be91
1 file changed
+3
@@ -149,6 +149,9 @@ struct ContentView: View {
|
|||||||
PosterBoardManager.shared.selectedTendies.removeAll()
|
PosterBoardManager.shared.selectedTendies.removeAll()
|
||||||
SymHandler.cleanup() // just to be extra sure
|
SymHandler.cleanup() // just to be extra sure
|
||||||
try? FileManager.default.removeItem(at: PosterBoardManager.shared.getTendiesStoreURL())
|
try? FileManager.default.removeItem(at: PosterBoardManager.shared.getTendiesStoreURL())
|
||||||
|
if let videoURL = videoURL {
|
||||||
|
try? FileManager.default.removeItem(at: videoURL)
|
||||||
|
}
|
||||||
Haptic.shared.notify(.success)
|
Haptic.shared.notify(.success)
|
||||||
UIApplication.shared.dismissAlert(animated: false)
|
UIApplication.shared.dismissAlert(animated: false)
|
||||||
UIApplication.shared.confirmAlert(title: "Success!", body: "The PosterBoard app will now open. Please close it from the app switcher.", onOK: {
|
UIApplication.shared.confirmAlert(title: "Success!", body: "The PosterBoard app will now open. Please close it from the app switcher.", onOK: {
|
||||||
|
|||||||
Reference in new issue
Block a user