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 22, 2024
1 parent 4886bea commit 39bbbc0
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 39bbbc0

Please sign in to comment.