diff --git a/src-tauri/src/rpc/mqtt.rs b/src-tauri/src/rpc/mqtt.rs index 28b8da4..5c40a3d 100644 --- a/src-tauri/src/rpc/mqtt.rs +++ b/src-tauri/src/rpc/mqtt.rs @@ -42,7 +42,7 @@ impl MqttConnection { Ok(now_str) => { match client .publish( - "screen-bg-light/desktop/last-online-at", + "screen-bg-light/desktop/online", QoS::AtLeastOnce, false, now_str.as_bytes(), diff --git a/src/App.tsx b/src/App.tsx index 5684869..89bd56e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -30,9 +30,9 @@ function App() { return (