test: expand overlay coverage

This commit is contained in:
Peter Steinberger
2025-12-24 17:42:34 +01:00
parent 49e466dd40
commit f4fb80e523
9 changed files with 168 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ final class VoicePushToTalkHotkey: @unchecked Sendable {
}
func setEnabled(_ enabled: Bool) {
if ProcessInfo.processInfo.isRunningTests { return }
self.withMainThread { [weak self] in
guard let self else { return }
if enabled {