clean up video

This commit is contained in:
leminlimez committed 2025-06-08 19:01:09 -04:00
1 parent aaf5051eeb
commit 913110be91
1 file changed
+3
+3
View File
@@ -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: {