mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-05-18 23:07:31 +08:00
feat: Enhance settings screen with section tracking and success notifications; update remote control UI to support localization
This commit is contained in:
@@ -18,9 +18,9 @@ const getRemotePageHTML = () => {
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<h3>Send a message to TV</h3>
|
||||
<input id="text" placeholder="Type here..." />
|
||||
<button onclick="send()">Send</button>
|
||||
<h3>向电视发送文本</h3>
|
||||
<input id="text" placeholder="请输入..." />
|
||||
<button onclick="send()">发送</button>
|
||||
</div>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
@@ -183,13 +183,13 @@ export class SearchHistoryManager {
|
||||
export class SettingsManager {
|
||||
static async get(): Promise<AppSettings> {
|
||||
const defaultSettings: AppSettings = {
|
||||
apiBaseUrl: "https://orion-tv.edu.deal",
|
||||
apiBaseUrl: "",
|
||||
remoteInputEnabled: true,
|
||||
videoSource: {
|
||||
enabledAll: true,
|
||||
sources: {},
|
||||
},
|
||||
m3uUrl: "https://raw.githubusercontent.com/sjnhnp/adblock/refs/heads/main/filtered_http_only_valid.m3u",
|
||||
m3uUrl: "https://ghfast.top/https://raw.githubusercontent.com/sjnhnp/adblock/refs/heads/main/filtered_http_only_valid.m3u",
|
||||
};
|
||||
try {
|
||||
const data = await AsyncStorage.getItem(STORAGE_KEYS.SETTINGS);
|
||||
|
||||
Reference in New Issue
Block a user