feat(mobile): optimize mobile experience by hiding non-essential features

- Hide live streaming tab in mobile navigation components
- Hide remote input and live stream configurations in settings
- Hide API configuration description text on mobile
- Disable HTTP server startup on mobile devices to save resources

This streamlines the mobile interface while preserving full functionality on tablet and TV platforms.
This commit is contained in:
zimplexing
2025-08-13 19:30:29 +08:00
parent cdf0d72bdc
commit 6a31e8ac85
6 changed files with 31 additions and 11 deletions

View File

@@ -65,12 +65,13 @@ export default function RootLayout() {
}, [loaded, lastCheckTime, checkForUpdate]);
useEffect(() => {
if (remoteInputEnabled) {
// 只有在非手机端才启动远程控制服务器
if (remoteInputEnabled && responsiveConfig.deviceType !== "mobile") {
startServer();
} else {
stopServer();
}
}, [remoteInputEnabled, startServer, stopServer]);
}, [remoteInputEnabled, startServer, stopServer, responsiveConfig.deviceType]);
if (!loaded && !error) {
return null;