Use Swift 5.7 if-let style

This commit is contained in:
Arkadiusz Fal
2022-09-28 16:27:01 +02:00
parent 8f96a7c5e0
commit a086a0f440
50 changed files with 114 additions and 114 deletions

View File

@@ -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
}