mirror of
https://github.com/yattee/yattee.git
synced 2026-11-01 17:37:18 +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:
@@ -59,7 +59,6 @@ enum DataContextValidity: Hashable, Sendable {
|
||||
@Observable
|
||||
final class DataContextValidator {
|
||||
private let accountsManager: AccountsManager
|
||||
private let instancesManager: InstancesManager
|
||||
private let toastManager: ToastManager
|
||||
private weak var appEnvironment: AppEnvironment?
|
||||
|
||||
@@ -69,7 +68,6 @@ final class DataContextValidator {
|
||||
toastManager: ToastManager
|
||||
) {
|
||||
self.accountsManager = accountsManager
|
||||
self.instancesManager = instancesManager
|
||||
self.toastManager = toastManager
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user