Enable shorthand_optional_binding SwiftLint rule. (#582)

This commit is contained in:
Doug
2023-02-15 09:34:48 +00:00
committed by GitHub
parent afc660a1ea
commit 6211f121a0
5 changed files with 5 additions and 3 deletions
@@ -24,7 +24,7 @@ struct UserIndicatorModalView: View {
var body: some View {
ZStack {
VStack(spacing: 12.0) {
if let progressFraction = progressFraction {
if let progressFraction {
ProgressView(value: progressFraction)
} else {
ProgressView()