save changed images

This commit is contained in:
leminlimez committed 2025-06-23 14:25:54 -04:00
1 parent 7c2a031463
commit d5833dfb81
5 files changed
+36 -19

No files matched your search

+1
View File
@@ -84,6 +84,7 @@ struct SettingsView: View {
Button(action: {
UIImpactFeedbackGenerator(style: .soft).impactOccurred()
UserDefaults.standard.set(nil, forKey: "ActiveCarPlayWallpapers")
try? FileManager.default.removeItem(at: PosterBoardManager.shared.getCarPlayPhotosURL())
Haptic.shared.notify(.success)
UIApplication.shared.alert(title: NSLocalizedString("CarPlay Applied Wallpapers Successfully Cleared!", comment: ""), body: "")
}) {