chore: remove unnecessary UserDefaults.synchronize() calls (extension/app/VM)

This commit is contained in:
jack
2025-08-25 18:54:42 +02:00
parent c803f862d5
commit b243b930c4
4 changed files with 42 additions and 35 deletions
@@ -153,7 +153,7 @@ final class ShareViewController: UIViewController {
userDefaults.set(content, forKey: "sharedContent")
userDefaults.set(type, forKey: "sharedContentType")
userDefaults.set(Date(), forKey: "sharedContentDate")
userDefaults.synchronize()
// No need to force synchronize; the system persists changes
}
private func finishWithMessage(_ msg: String) {