feat(sync): preserve spaces in snapshots

This commit is contained in:
2026-05-16 05:42:17 -04:00
parent 973fd0a582
commit bfdc97d7fd
4 changed files with 212 additions and 13 deletions
+12
View File
@@ -80,6 +80,18 @@ impl Space {
self.record_update();
}
pub fn set_presentation(
&mut self,
name: impl Into<String>,
icon: impl Into<String>,
accent_hex: u32,
) {
self.name = name.into();
self.icon = icon.into();
self.accent_hex = accent_hex;
self.record_update();
}
#[must_use]
pub fn archive_policy(&self) -> &ArchivePolicy {
&self.archive_policy