Skip to content

Commit

Permalink
Fix SwiftLint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasilak committed Nov 3, 2023
1 parent eb69cb1 commit 42f0bb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ final class ItemsToolbarController {
var progress: Float?
let remoteDownloading = remoteDownloadBatchData != nil
let defaultAttributes: [NSAttributedString.Key: Any] = [.foregroundColor: UIColor.label, .font: UIFont.preferredFont(forTextStyle: .footnote)]
if identifierLookupBatchData != .zero, (!identifierLookupBatchData.isFinished || remoteDownloading) {
if identifierLookupBatchData != .zero, !identifierLookupBatchData.isFinished || remoteDownloading {
// Show "Saved x / y" only if lookup hasn't finished, or there are also ongoing remote downloads
isUserInteractionEnabled = true
let identifierLookupText = L10n.Items.toolbarSaved(identifierLookupBatchData.saved, identifierLookupBatchData.total)
Expand Down

0 comments on commit 42f0bb7

Please sign in to comment.