Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BPerlakiH committed Jun 19, 2024
1 parent da99090 commit dd7cd6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ViewModel/BrowserViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ final class BrowserViewModel: NSObject, ObservableObject,
}
}


Check notice on line 162 in ViewModel/BrowserViewModel.swift

View check run for this annotation

codefactor.io / CodeFactor

ViewModel/BrowserViewModel.swift#L162

Limit vertical whitespace to a single empty line. Currently 2. (vertical_whitespace)
/// Get the webpage in a binary format
/// - Returns: PDF of the current page (if text type) or binary data of the content
func pdfData() async -> Data? {
if metaData?.isTextType == true {
return try? await webView.pdf()
Expand Down

0 comments on commit dd7cd6c

Please sign in to comment.