mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Use Swift 5.7 if-let style
This commit is contained in:
@@ -30,7 +30,7 @@ extension Watch {
|
||||
watch = results?.first
|
||||
}
|
||||
|
||||
guard let watch = watch else { return }
|
||||
guard let watch else { return }
|
||||
|
||||
watch.videoDuration = duration
|
||||
watch.stoppedAt = duration
|
||||
@@ -65,7 +65,7 @@ extension Watch {
|
||||
}
|
||||
|
||||
var watchedAtString: String? {
|
||||
guard let watchedAt = watchedAt else {
|
||||
guard let watchedAt else {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user