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

@@ -167,11 +167,11 @@ extension VideosAPI {
guard var startSeconds = seconds else { return nil }
if let minutes = minutes {
if let minutes {
startSeconds += 60 * minutes
}
if let hours = hours {
if let hours {
startSeconds += 60 * 60 * hours
}