Run power mode detection in background
This commit is contained in:
parent
072b57f365
commit
58577c3a7a
@ -195,8 +195,10 @@ class WhisperState: NSObject, ObservableObject {
|
||||
self.recordingState = .recording
|
||||
}
|
||||
|
||||
// Detect and apply Power Mode for current app/website
|
||||
await ActiveWindowService.shared.applyConfiguration(powerModeId: powerModeId)
|
||||
// Detect and apply Power Mode for current app/website in background
|
||||
Task {
|
||||
await ActiveWindowService.shared.applyConfiguration(powerModeId: powerModeId)
|
||||
}
|
||||
|
||||
// Load model and capture context in background without blocking
|
||||
Task.detached { [weak self] in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user