Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.
Rust apple-notesapple-reminderscloudkitcrdtdesktop-appicloudicloud-calendaricloud-driveicloud-notesicloud-photosiphonelinuxlinux-desktoplocal-firstoffline-firstprivacyrusttauritauri-appwindows
Notes: a note unlocked on a phone is no longer shown locked here for good
Yashwanth Kamireddifcd4834d9e93
diff --git a/crates/quince-icloud/src/notes.rs b/crates/quince-icloud/src/notes.rsindex 42b60f6..04e0e99 100644--- a/crates/quince-icloud/src/notes.rs+++ b/crates/quince-icloud/src/notes.rs@@ -360,7 +360,9 @@ pub fn apply_cloudkit(for note in &mut notes {let (was_pinned, was_locked) = stored.get(¬e.guid).copied().unwrap_or((false, false));note.pinned = pins.get(¬e.guid).copied().unwrap_or(was_pinned);- note.locked = locked_notes.contains(¬e.guid) || was_locked;+ // Locked when Apple says so in this pass, or when it was and still has no text to read.+ // `|| was_locked` alone meant a note unlocked on a phone stayed locked here for good.+ note.locked = locked_notes.contains(¬e.guid) || (was_locked && note.body.is_none());}let in_pass: std::collections::HashSet<String> = notes.iter().map(|n| n.guid.clone()).collect();