chore: 代码清理。

This commit is contained in:
2023-04-01 18:43:49 +08:00
parent 47e30ec94a
commit d053185cc2
7 changed files with 16 additions and 120 deletions

View File

@@ -159,7 +159,8 @@ impl Manager {
let rpc = rpc::Manager::global().await;
rpc.publish_desktop_cmd(
format!("display{}/brightness", display_brightness.display_index).as_str(),
format!("display{}/brightness", display_brightness.display_index)
.as_str(),
target.to_be_bytes().to_vec(),
)
.await;