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

@@ -86,7 +86,8 @@ export default function SettingsScreen() {
};
const sections = [
{
// 远程输入配置 - 仅在非手机端显示
deviceType !== "mobile" && {
component: (
<RemoteInputSection
onChanged={markAsChanged}
@@ -103,6 +104,7 @@ export default function SettingsScreen() {
<APIConfigSection
ref={apiSectionRef}
onChanged={markAsChanged}
hideDescription={deviceType === "mobile"}
onFocus={() => {
setCurrentFocusIndex(1);
setCurrentSection("api");
@@ -111,7 +113,8 @@ export default function SettingsScreen() {
),
key: "api",
},
{
// 直播源配置 - 仅在非手机端显示
deviceType !== "mobile" && {
component: (
<LiveStreamSection
ref={liveStreamSectionRef}