mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Fix lint issues
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ListView: View {
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user