feat: save title changes

This commit is contained in:
dscyrescotti committed 2024-06-09 23:31:03 +07:00
1 parent 90de6310e1
commit 63aced942a
1 file changed
+3
@@ -72,6 +72,9 @@ struct Toolbar: View {
} else {
title = memo.title
}
withPersistence(\.viewContext) { context in
try context.saveIfNeeded()
}
}
}
.transition(.move(edge: .top).combined(with: .blurReplace))