mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Use Swift 5.7 if-let style
This commit is contained in:
@@ -25,7 +25,7 @@ final class ReturnYouTubeDislikeAPI: ObservableObject {
|
||||
|
||||
private func requestDislikes(completionHandler: @escaping (Int) -> Void = { _ in }) {
|
||||
AF.request(votesURL).responseDecodable(of: JSON.self) { [weak self] response in
|
||||
guard let self = self else {
|
||||
guard let self else {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user