mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 21:22:53 +00:00
Remove dead code found by Periphery on all platforms
Delete declarations that Periphery reports unused on every platform that compiles them (iOS, macOS, tvOS), including nine views used only by their own previews. Platform-gated code still used on another platform, device- only MPV render paths, migration models, CloudKit record names, App Intents metadata and unused parameters are kept.
This commit is contained in:
@@ -66,12 +66,6 @@ final class HTTPClientFactory: Sendable {
|
||||
makeClient(session: sessionFactory.session(allowInvalidCertificates: allowInvalidCertificates))
|
||||
}
|
||||
|
||||
/// Creates an HTTPClient with low network priority for background/prefetch work.
|
||||
/// - Returns: An HTTPClient configured with `.background` network service type.
|
||||
func createLowPriorityClient() -> HTTPClient {
|
||||
makeClient(session: sessionFactory.lowPrioritySession())
|
||||
}
|
||||
|
||||
/// Builds the client with the current User-Agent baked in.
|
||||
///
|
||||
/// Passed through the initializer rather than set afterwards: these clients
|
||||
|
||||
Reference in New Issue
Block a user