feat: save title changes

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