Fix platform-specific imports in BatteryOptimizer

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