Fix 'No Audio Detected' notification timing - increase delays from 2s/8s to 5s/12s to prevent false positives

This commit is contained in:
Beingpax 2025-08-02 19:30:46 +05:45
parent 9dca90ea37
commit c2a3b9d787

View File

@ -120,7 +120,7 @@ class Recorder: ObservableObject {
}
audioLevelCheckTask = Task {
let notificationChecks: [TimeInterval] = [2.0, 8.0]
let notificationChecks: [TimeInterval] = [5.0, 12.0]
for delay in notificationChecks {
try? await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))