From 42176a15a43242dd3d39c8c93d297c73fc362903 Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Tue, 3 Jun 2025 20:12:50 -0400 Subject: [PATCH] add extra clean ups just to be sure --- Pocket Poster.xcodeproj/project.pbxproj | 4 ++-- Pocket Poster/Views/ContentView.swift | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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) }