From b3ee97f07d1510a2da81895089492d6605260c8c Mon Sep 17 00:00:00 2001 From: tvision106 Date: Wed, 15 Nov 2023 14:50:45 -0500 Subject: [PATCH] fix codefactor issue --- Views/BuildingBlocks/ArticleCell.swift | 2 +- Views/BuildingBlocks/SearchResultRow.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Views/BuildingBlocks/ArticleCell.swift b/Views/BuildingBlocks/ArticleCell.swift index f947e7ddd..a3a1b3f72 100644 --- a/Views/BuildingBlocks/ArticleCell.swift +++ b/Views/BuildingBlocks/ArticleCell.swift @@ -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 }() diff --git a/Views/BuildingBlocks/SearchResultRow.swift b/Views/BuildingBlocks/SearchResultRow.swift index 249f72cd4..690a37328 100644 --- a/Views/BuildingBlocks/SearchResultRow.swift +++ b/Views/BuildingBlocks/SearchResultRow.swift @@ -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 }()