Skip to content

Commit

Permalink
fix codefactor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tvision106 committed Nov 15, 2023
1 parent 3c61ff6 commit 4df733a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Views/BuildingBlocks/ArticleCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct ArticleCell: View {
struct ArticleCell_Previews: PreviewProvider {
static let result: SearchResult = {
let result = SearchResult(zimFileID: UUID(), path: "", title: "Article Title".localized)!
result.snippet = NSAttributedString(string:"loc-article-cell-template".localized)
result.snippet = NSAttributedString(string: "loc-article-cell-template".localized)
return result
}()

Expand Down
2 changes: 1 addition & 1 deletion Views/BuildingBlocks/SearchResultRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct SearchResultRow: View {
struct SearchResultRow_Previews: PreviewProvider {
static let result: SearchResult = {
let result = SearchResult(zimFileID: UUID(), path: "", title: "Article Title".localized)!
result.snippet = NSAttributedString(string:"loc-article-cell-template".localized)
result.snippet = NSAttributedString(string: "loc-article-cell-template".localized)
return result
}()

Expand Down

0 comments on commit 4df733a

Please sign in to comment.