Fix platform-specific imports in BatteryOptimizer

This commit is contained in:
jack
2025-07-05 21:04:39 +02:00
parent 12a4539b91
commit 67f18582f0
+3 -1
View File
@@ -7,8 +7,10 @@
//
import Foundation
import Combine
#if os(iOS)
import UIKit
#if os(macOS)
#elseif os(macOS)
import IOKit.ps
#endif