Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

chore: fix some typos in comments (#7814)

whosehang66d1af63b0a1
diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart
index 8303c91b1..a6f4fd389 100644
--- a/flutter/lib/mobile/pages/remote_page.dart
+++ b/flutter/lib/mobile/pages/remote_page.dart
@@ -223,7 +223,7 @@ class _RemotePageState extends State<RemotePage> {
_timer?.cancel();
_timer = Timer(kMobileDelaySoftKeyboard, () {
// show now, and sleep a while to requestFocus to
- // make sure edit ready, so that keyboard wont show/hide/show/hide happen
+ // make sure edit ready, so that keyboard won't show/hide/show/hide happen
setState(() => _showEdit = true);
_timer?.cancel();
_timer = Timer(kMobileDelaySoftKeyboardFocus, () {
diff --git a/src/flutter.rs b/src/flutter.rs
index f86755952..aee4ff67b 100644
--- a/src/flutter.rs
+++ b/src/flutter.rs
@@ -1052,7 +1052,7 @@ pub fn session_add(
let mut preset_password = password.clone();
let shared_password = if is_shared_password {
- // To achieve a flexible password application order, we dont' treat shared password as a preset password.
+ // To achieve a flexible password application order, we don't treat shared password as a preset password.
preset_password = Default::default();
Some(password)
} else {
diff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rs
index 6ff927796..e210fbd67 100644
--- a/src/flutter_ffi.rs
+++ b/src/flutter_ffi.rs
@@ -1861,7 +1861,7 @@ pub fn is_preset_password() -> bool {
})
}
-/// Send a url scheme throught the ipc.
+/// Send a url scheme through the ipc.
///
/// * macOS only
#[allow(unused_variables)]