Skip to content

Commit

Permalink
Style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Mar 13, 2024
1 parent 02d9e4a commit acc54bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 373 deletions.

This file was deleted.

6 changes: 3 additions & 3 deletions Zotero/Scenes/Detail/PDF/Models/PDFDatabaseAnnotation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ struct PDFDatabaseAnnotation {
let type: AnnotationType

init?(item: RItem) {
guard let _type = AnnotationType(rawValue: item.annotationType) else {
guard let type = AnnotationType(rawValue: item.annotationType) else {
DDLogWarn("DatabaseAnnotation: \(item.key) unknown annotation type \(item.annotationType)")
return nil
}
guard AnnotationsConfig.supported.contains(_type.kind) else {
guard AnnotationsConfig.supported.contains(type.kind) else {
return nil
}
self.item = item
type = _type
self.type = type
}

var key: String {
Expand Down

0 comments on commit acc54bc

Please sign in to comment.