chore: fix some typos (#7585)
Signed-off-by: redistay <wujunjing@outlook.com>
This commit is contained in:
parent
db6bf547a9
commit
1cfc9b6139
@ -583,7 +583,7 @@ class WindowActionPanelState extends State<WindowActionPanel>
|
|||||||
mainWindowClose() async => await windowManager.hide();
|
mainWindowClose() async => await windowManager.hide();
|
||||||
notMainWindowClose(WindowController controller) async {
|
notMainWindowClose(WindowController controller) async {
|
||||||
if (widget.tabController.length != 0) {
|
if (widget.tabController.length != 0) {
|
||||||
debugPrint("close not emtpy multiwindow from taskbar");
|
debugPrint("close not empty multiwindow from taskbar");
|
||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
await controller.show();
|
await controller.show();
|
||||||
await controller.focus();
|
await controller.focus();
|
||||||
|
@ -854,7 +854,7 @@ class LegacyAb extends BaseAb {
|
|||||||
final resp = await http.get(Uri.parse(api), headers: authHeaders);
|
final resp = await http.get(Uri.parse(api), headers: authHeaders);
|
||||||
statusCode = resp.statusCode;
|
statusCode = resp.statusCode;
|
||||||
if (resp.body.toLowerCase() == "null") {
|
if (resp.body.toLowerCase() == "null") {
|
||||||
// normal reply, emtpy ab return null
|
// normal reply, empty ab return null
|
||||||
tags.clear();
|
tags.clear();
|
||||||
tagColors.clear();
|
tagColors.clear();
|
||||||
peers.clear();
|
peers.clear();
|
||||||
|
@ -61,7 +61,7 @@ BOOL DeviceCreate(PHSWDEVICE hSwDevice);
|
|||||||
/**
|
/**
|
||||||
* @brief Create device and set the lifetime.
|
* @brief Create device and set the lifetime.
|
||||||
* Only one device should be created.
|
* 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.
|
* @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
|
* https://learn.microsoft.com/en-us/windows/win32/api/swdevice/nf-swdevice-swdevicesetlifetime
|
||||||
|
@ -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.
|
// Values in "times" are unique and are less than normal tokio interval.
|
||||||
// See previous test (test_tokio_time_interval_sleep) for comparison.
|
// See previous test (test_tokio_time_interval_sleep) for comparison.
|
||||||
let times2: HashSet<u128> = HashSet::from_iter(times.clone());
|
let times2: HashSet<u128> = HashSet::from_iter(times.clone());
|
||||||
|
Loading…
Reference in New Issue
Block a user