Fix project warnings (#791)

- Swift 5.8 warnings
- Run SwiftFormat 0.51.5
- Fix SwiftLint blanket_disable_command warnings. (Assets.swift will be fixed by SwiftGen).
This commit is contained in:
Doug
2023-04-12 10:33:38 +01:00
committed by GitHub
parent f02a5c7ac0
commit 30a3efcf51
9 changed files with 15 additions and 6 deletions
@@ -72,7 +72,7 @@ struct LoadableImage<TransformerView: View, PlaceholderView: View>: View {
guard image == nil, let mediaSource else { return }
if case let .success(image) = await imageProvider?.loadImageFromSource(mediaSource, size: size) {
self.cachedImage = image
cachedImage = image
}
}