active wallpapers tracking
This commit is contained in:
1 parent
069d5cf1c3
commit
f305e4b2c6
4 files changed
+45
-11
No files matched your search
@@ -71,6 +71,16 @@ struct SettingsView: View {
|
||||
Label("Clear App Cache", systemImage: "trash.circle")
|
||||
}
|
||||
.foregroundStyle(.red)
|
||||
|
||||
Button(action: {
|
||||
UIImpactFeedbackGenerator(style: .soft).impactOccurred()
|
||||
UserDefaults.standard.set(nil, forKey: "ActiveCarPlayWallpapers")
|
||||
Haptic.shared.notify(.success)
|
||||
UIApplication.shared.alert(title: NSLocalizedString("CarPlay Applied Wallpapers Successfully Cleared!", comment: ""), body: "")
|
||||
}) {
|
||||
Label("Reset CarPlay Applied Wallpapers", systemImage: "trash.circle")
|
||||
}
|
||||
.foregroundStyle(.red)
|
||||
} header: {
|
||||
Label("Actions", systemImage: "gear")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user