Skip to content

Commit

Permalink
Added forgotten changes
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Aug 26, 2024
1 parent a5ffb3e commit 2443ef2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ struct NoteEditorActionHandler: ViewModelActionHandler, BackgroundDbProcessingAc
update(viewModel: viewModel) { state in
state.kind = .edit(key: note.key)
updateTitleIfNeeded(title: note.title, state: &state)
state.changes = [.kind, .saved]
}
return note.key
} catch let error {
Expand Down

0 comments on commit 2443ef2

Please sign in to comment.