Fix lint issues

This commit is contained in:
Arkadiusz Fal
2023-06-17 14:09:51 +02:00
parent b12933e61d
commit e827b97cd5
40 changed files with 130 additions and 101 deletions

View File

@@ -1,4 +1,3 @@
import SwiftUI
struct ListView: View {

View File

@@ -253,11 +253,11 @@ struct VideoBanner: View {
private var timeLabel: String? {
if let watch, let watchStoppedAtLabel, let videoDurationLabel, !watch.finished {
return "\(watchStoppedAtLabel) / \(videoDurationLabel)"
} else if let videoDurationLabel {
return videoDurationLabel
} else {
return nil
}
if let videoDurationLabel {
return videoDurationLabel
}
return nil
}
@ViewBuilder private var timeView: some View {