This commit is contained in:
2026-08-05 18:24:41 +08:00
parent 4086b64fc0
commit 79562ecb5c
6 changed files with 83 additions and 57 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ import {
import { saveServerDomain } from '../services/api';
const PRESETS = [
{ label: 'aa.pfgame.org', host: 'aa.pfgame.org', port: '443' },
{ label: '192.168.1.117:16000', host: '192.168.1.117', port: '16000' },
{ label: 'aa.pfgame.org', host: 'aa.pfgame.org', port: '443' },
];
type Props = {
@@ -62,7 +62,7 @@ export const ServerSettingsModal: React.FC<Props> = ({
style={styles.textInput}
value={host}
onChangeText={onHostChange}
placeholder="192.168.1.198"
placeholder="192.168.1.117"
autoCapitalize="none"
/>
<Text style={styles.inputLabel}>Port</Text>