Skip to content

Commit

Permalink
Update Zotero/Scenes/Detail/SingleCitation/ViewModels/SingleCitationA…
Browse files Browse the repository at this point in the history
…ctionHandler.swift

Co-authored-by: Miltiadis Vasilakis <[email protected]>
  • Loading branch information
michalrentka and mvasilak authored Feb 13, 2024
1 parent ddb76bd commit d54ee1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct SingleCitationActionHandler: ViewModelActionHandler {
guard let preview = viewModel.state.preview else { return }

if viewModel.state.exportAsHtml {
UIPasteboard.general.string = viewModel.state.preview
UIPasteboard.general.string = preview
update(viewModel: viewModel) { state in
state.changes = .copied
}
Expand Down

0 comments on commit d54ee1d

Please sign in to comment.