Skip to content

Commit 50676c6

Browse files
committed
Fix comment typo
1 parent afc0280 commit 50676c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zotero/Scenes/Detail/PDF/ViewModels/PDFReaderActionHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ final class PDFReaderActionHandler: ViewModelActionHandler, BackgroundDbProcessi
13701370
for annotation in finalAnnotations {
13711371
if annotation.key == nil {
13721372
// We use the displayName, but if this is empty we use the username, which is what would be presented anyway.
1373-
// Since a username cannot be empty, we guarranty an non-empty annotation.user field.
1373+
// Since a username cannot be empty, we guarantee an non-empty annotation.user field.
13741374
annotation.user = viewModel.state.displayName.isEmpty ? viewModel.state.username : viewModel.state.displayName
13751375
annotation.customData = [AnnotationsConfig.keyKey: KeyGenerator.newKey]
13761376
}

0 commit comments

Comments
 (0)