Enhance ConnectionPlaceholder component to handle missing device IP with localized messages; update DeviceContext to manage IP state; improve CSS for touch actions in various components; update locale files for English and Chinese with new connection prompts.

This commit is contained in:
yangy
2026-05-22 17:24:50 +08:00
parent 32f15217ad
commit 11821730ec
9 changed files with 89 additions and 22 deletions
+1 -1
View File
@@ -7,5 +7,5 @@ export function getDeviceIpFromUrl(): string | null {
}
export function resolveInitialDeviceIp(): string {
return getDeviceIpFromUrl() ?? localStorage.getItem("luxsin_ip") ?? "192.168.2.30";
return getDeviceIpFromUrl() ?? "";
}