Skip to content

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

chore: fix some typos (#7585)

redistay1cfc9b61391c
diff --git a/flutter/lib/desktop/widgets/tabbar_widget.dart b/flutter/lib/desktop/widgets/tabbar_widget.dart
index 8d84de744..76777b19f 100644
--- a/flutter/lib/desktop/widgets/tabbar_widget.dart
+++ b/flutter/lib/desktop/widgets/tabbar_widget.dart
@@ -583,7 +583,7 @@ class WindowActionPanelState extends State<WindowActionPanel>
mainWindowClose() async => await windowManager.hide();
notMainWindowClose(WindowController controller) async {
if (widget.tabController.length != 0) {
- debugPrint("close not emtpy multiwindow from taskbar");
+ debugPrint("close not empty multiwindow from taskbar");
if (isWindows) {
await controller.show();
await controller.focus();
diff --git a/flutter/lib/models/ab_model.dart b/flutter/lib/models/ab_model.dart
index 9840ded5d..ba13c5143 100644
--- a/flutter/lib/models/ab_model.dart
+++ b/flutter/lib/models/ab_model.dart
@@ -854,7 +854,7 @@ class LegacyAb extends BaseAb {
final resp = await http.get(Uri.parse(api), headers: authHeaders);
statusCode = resp.statusCode;
if (resp.body.toLowerCase() == "null") {
- // normal reply, emtpy ab return null
+ // normal reply, empty ab return null
tags.clear();
tagColors.clear();
peers.clear();
diff --git a/libs/virtual_display/dylib/src/win10/IddController.h b/libs/virtual_display/dylib/src/win10/IddController.h
index 6e87a78df..99c5dad49 100644
--- a/libs/virtual_display/dylib/src/win10/IddController.h
+++ b/libs/virtual_display/dylib/src/win10/IddController.h
@@ -61,7 +61,7 @@ BOOL DeviceCreate(PHSWDEVICE hSwDevice);
/**
* @brief Create device and set the lifetime.
* Only one device should be created.
- * If device is installed ealier, this function returns FALSE.
+ * If device is installed earlier, this function returns FALSE.
*
* @param lifetime [in] The lifetime to set after creating the device. NULL means do not set the lifetime.
* https://learn.microsoft.com/en-us/windows/win32/api/swdevice/nf-swdevice-swdevicesetlifetime
diff --git a/src/common.rs b/src/common.rs
index 86af0f899..e57aefe5c 100644
--- a/src/common.rs
+++ b/src/common.rs
@@ -1682,7 +1682,7 @@ mod tests {
}
}
}
- // No mutliple ticks in the `interval` time.
+ // No multiple ticks in the `interval` time.
// Values in "times" are unique and are less than normal tokio interval.
// See previous test (test_tokio_time_interval_sleep) for comparison.
let times2: HashSet<u128> = HashSet::from_iter(times.clone());