Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): remove obsolete beta channel restart alert
guyongfce879421304
diff --git a/apps/mobile/app/settings/developer.tsx b/apps/mobile/app/settings/developer.tsxindex 97acf24b38..fb84cb1ab2 100644--- a/apps/mobile/app/settings/developer.tsx+++ b/apps/mobile/app/settings/developer.tsx@@ -114,7 +114,7 @@ export default function DeveloperSettingsScreen() {: localLogUploadMessage;// —— Beta 测试渠道 ——- // 落盘即时生效,但 manifest 通道只在下次冷启动/后台轮询切换;打开后引导用户手动重启。+ // 落盘后通知通道订阅,根部会按有效通道重新检查整包更新。const { enabled: betaEnabled, ready: betaReady, setEnabled: setBetaEnabled } = useBetaChannel();const [betaBusy, setBetaBusy] = useState(false);const toggleBeta = useCallback(async () => {@@ -134,13 +134,6 @@ export default function DeveloperSettingsScreen() {}}await setBetaEnabled(next);- if (next) {- Alert.alert(- t('settings.betaChannel.title'),- t('settings.betaChannel.restartHint'),- [{ text: t('settings.betaChannel.ok'), style: 'default' }],- );- }} catch {// 只可能是本机存储异常;store 会回推真值,这里仅提示未保存成功。Alert.alert(t('settings.betaChannel.title'), t('settings.betaChannel.saveFailed'));diff --git a/apps/mobile/src/i18n/locales/en/settings.json b/apps/mobile/src/i18n/locales/en/settings.jsonindex 309546070f..492681f6b9 100644--- a/apps/mobile/src/i18n/locales/en/settings.json+++ b/apps/mobile/src/i18n/locales/en/settings.json@@ -97,8 +97,6 @@"title": "Beta channel","badge": "Beta","description": "Get upcoming client updates early.",- "restartHint": "The beta channel takes effect after restarting the app. Please restart to apply.",- "ok": "Got it","saveFailed": "Failed to save beta channel setting","unavailable": "The beta channel is unavailable — could not reach the beta update server."},diff --git a/apps/mobile/src/i18n/locales/ja/settings.json b/apps/mobile/src/i18n/locales/ja/settings.jsonindex 6709bb0b7d..e30157e316 100644--- a/apps/mobile/src/i18n/locales/ja/settings.json+++ b/apps/mobile/src/i18n/locales/ja/settings.json@@ -97,8 +97,6 @@"title": "Beta チャンネル","badge": "Beta","description": "リリース前のクライアント更新を先行して受け取ります。",- "restartHint": "Beta チャンネルは再起動後に反映されます。アプリを再起動してください。",- "ok": "わかりました","saveFailed": "Beta チャンネル設定の保存に失敗しました","unavailable": "Beta チャンネルは利用できません。Beta 更新サーバーに接続できませんでした。"},diff --git a/apps/mobile/src/i18n/locales/ko/settings.json b/apps/mobile/src/i18n/locales/ko/settings.jsonindex caeea3b032..458f3e7271 100644--- a/apps/mobile/src/i18n/locales/ko/settings.json+++ b/apps/mobile/src/i18n/locales/ko/settings.json@@ -97,8 +97,6 @@"title": "베타 채널","badge": "Beta","description": "출시 예정인 클라이언트 업데이트를 먼저 받습니다.",- "restartHint": "베타 채널은 앱을 재시작해야 적용됩니다. 앱을 다시 시작해 주세요.",- "ok": "확인","saveFailed": "베타 채널 설정 저장 실패","unavailable": "베타 채널을 사용할 수 없습니다. 베타 업데이트 서버에 연결할 수 없습니다."},diff --git a/apps/mobile/src/i18n/locales/zh-CN/settings.json b/apps/mobile/src/i18n/locales/zh-CN/settings.jsonindex 593249d865..41bb8ed2d8 100644--- a/apps/mobile/src/i18n/locales/zh-CN/settings.json+++ b/apps/mobile/src/i18n/locales/zh-CN/settings.json@@ -97,8 +97,6 @@"title": "Beta 测试渠道","badge": "Beta","description": "提前接收即将发布的客户端更新。",- "restartHint": "Beta 测试渠道需要重启客户端后才能生效,请重启应用。",- "ok": "我知道了","saveFailed": "保存 Beta 测试渠道设置失败","unavailable": "Beta 测试渠道暂不可用,无法连接到 Beta 更新服务器。"},diff --git a/apps/mobile/src/i18n/locales/zh-TW/settings.json b/apps/mobile/src/i18n/locales/zh-TW/settings.jsonindex 76cb01db60..0cd581ae4d 100644--- a/apps/mobile/src/i18n/locales/zh-TW/settings.json+++ b/apps/mobile/src/i18n/locales/zh-TW/settings.json@@ -97,8 +97,6 @@"title": "Beta 測試管道","badge": "Beta","description": "提前接收即將發布的用戶端更新。",- "restartHint": "Beta 測試管道需要重新啟動客戶端後才能生效,請重新啟動應用。",- "ok": "我知道了","saveFailed": "儲存 Beta 測試管道設定失敗","unavailable": "Beta 測試管道暫不可用,無法連接到 Beta 更新伺服器。"},