mirror of
https://github.com/yattee/yattee.git
synced 2025-08-08 11:44:06 +00:00
Use Swift 5.7 if-let style
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user