From f7b290dcbfe06d2126951133cb0029e007b86bd2 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Tue, 22 Nov 2022 20:07:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/rpc/mqtt.rs | 2 +- src/App.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 (
-
+
{ledStripColors.map((it) => ( - + ))}