Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasilak committed Dec 14, 2024
1 parent afc0280 commit 50676c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ final class PDFReaderActionHandler: ViewModelActionHandler, BackgroundDbProcessi
for annotation in finalAnnotations {
if annotation.key == nil {
// We use the displayName, but if this is empty we use the username, which is what would be presented anyway.
// Since a username cannot be empty, we guarranty an non-empty annotation.user field.
// Since a username cannot be empty, we guarantee an non-empty annotation.user field.
annotation.user = viewModel.state.displayName.isEmpty ? viewModel.state.username : viewModel.state.displayName
annotation.customData = [AnnotationsConfig.keyKey: KeyGenerator.newKey]
}
Expand Down

0 comments on commit 50676c6

Please sign in to comment.