Applied latest changes from boring.notch

This commit is contained in:
Hariharan Mudaliar 2025-07-13 23:17:43 +05:30
commit 628d76b41c
18 changed files with 940 additions and 339 deletions

View file

@ -2,7 +2,7 @@
// YouTubeMusicController.swift
// DynamicIsland
//
// Created By Alexander Greco on 2025-03-30.
// Created By Alexander on 2025-03-30.
//
import Foundation
@ -64,7 +64,7 @@ class YouTubeMusicController: MediaControllerProtocol {
}
private func getAccessToken(completion: @escaping (Bool) -> Void) {
guard let url = URL(string: "\(baseURL)/auth/dynamicIsland") else {
guard let url = URL(string: "\(baseURL)/auth/DynamicIsland") else {
completion(false)
return
}
@ -80,7 +80,7 @@ class YouTubeMusicController: MediaControllerProtocol {
.receive(on: DispatchQueue.main)
.sink(receiveCompletion: { completionStatus in
switch completionStatus {
case .failure(let error):
case .failure(_):
completion(false)
case .finished:
break