Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

Qualify static TIS lookup calls

altic-dev66e421a5ba8e
diff --git a/Sources/Fluid/Services/TypingService.swift b/Sources/Fluid/Services/TypingService.swift
index 2afafef1..f346ed56 100644
--- a/Sources/Fluid/Services/TypingService.swift
+++ b/Sources/Fluid/Services/TypingService.swift
@@ -47,11 +47,11 @@ final class TypingService {
/// if the layout data is unavailable.
private static func virtualKeyCode(for character: Character, qwertyFallback: CGKeyCode) -> CGKeyCode {
if Thread.isMainThread {
- return tisLookup(for: character, qwertyFallback: qwertyFallback)
+ return self.tisLookup(for: character, qwertyFallback: qwertyFallback)
}
var result = qwertyFallback
DispatchQueue.main.sync {
- result = tisLookup(for: character, qwertyFallback: qwertyFallback)
+ result = self.tisLookup(for: character, qwertyFallback: qwertyFallback)
}
return result
}