Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

default to handy keys on windowss (#1029)

CJ Paisa58216e07636
diff --git a/src-tauri/src/settings.rs b/src-tauri/src/settings.rs
index 7e242eb3..7e7403f8 100644
--- a/src-tauri/src/settings.rs
+++ b/src-tauri/src/settings.rs
@@ -171,12 +171,10 @@ pub enum KeyboardImplementation {
impl Default for KeyboardImplementation {
fn default() -> Self {
- // Default to HandyKeys only on macOS where it's well-tested.
- // Windows and Linux use Tauri by default (handy-keys not sufficiently tested yet).
- #[cfg(target_os = "macos")]
- return KeyboardImplementation::HandyKeys;
- #[cfg(not(target_os = "macos"))]
+ #[cfg(target_os = "linux")]
return KeyboardImplementation::Tauri;
+ #[cfg(not(target_os = "linux"))]
+ return KeyboardImplementation::HandyKeys;
}
}