diff --git a/Pocket Poster.xcodeproj/project.pbxproj b/Pocket Poster.xcodeproj/project.pbxproj index 33f0e15..56b70b2 100644 --- a/Pocket Poster.xcodeproj/project.pbxproj +++ b/Pocket Poster.xcodeproj/project.pbxproj @@ -261,7 +261,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 7; + CURRENT_PROJECT_VERSION = 9; DEVELOPMENT_ASSET_PATHS = "\"Pocket Poster/Preview Content\""; DEVELOPMENT_TEAM = 2P4CP47H76; ENABLE_PREVIEWS = YES; @@ -293,7 +293,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 7; + CURRENT_PROJECT_VERSION = 9; DEVELOPMENT_ASSET_PATHS = "\"Pocket Poster/Preview Content\""; DEVELOPMENT_TEAM = 2P4CP47H76; ENABLE_PREVIEWS = YES; diff --git a/Pocket Poster/Views/ContentView.swift b/Pocket Poster/Views/ContentView.swift index 5df679f..09595cb 100644 --- a/Pocket Poster/Views/ContentView.swift +++ b/Pocket Poster/Views/ContentView.swift @@ -72,6 +72,7 @@ struct ContentView: View { do { try PosterBoardManager.applyTendies(selectedTendies.wrappedValue, appHash: pbHash) selectedTendies.wrappedValue.removeAll() + SymHandler.cleanup() // just to be extra sure try? FileManager.default.removeItem(at: PosterBoardManager.getTendiesStoreURL()) Haptic.shared.notify(.success) UIApplication.shared.dismissAlert(animated: false) @@ -84,6 +85,7 @@ struct ContentView: View { }, noCancel: true) } catch { Haptic.shared.notify(.error) + SymHandler.cleanup() UIApplication.shared.dismissAlert(animated: false) UIApplication.shared.alert(body: error.localizedDescription) }