mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-06-01 17:15:48 +08:00
ios proxy pass domains (#527)
This commit is contained in:
@@ -280,7 +280,8 @@ class SettingPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(localizations.proxyIgnoreDomain, style: const TextStyle(fontSize: 14)),
|
||||
const SizedBox(height: 3),
|
||||
Text(isEn ? "Use ';' to separate multiple entries": "多个使用;分割", style: TextStyle(fontSize: 11, color: Colors.grey.shade600)),
|
||||
Text(isEn ? "Use ';' to separate multiple entries" : "多个使用;分割",
|
||||
style: TextStyle(fontSize: 11, color: Colors.grey.shade600)),
|
||||
],
|
||||
),
|
||||
Padding(
|
||||
@@ -299,10 +300,14 @@ class SettingPage extends StatelessWidget {
|
||||
textInputAction: TextInputAction.done,
|
||||
style: const TextStyle(fontSize: 13),
|
||||
controller: textEditingController,
|
||||
onSubmitted: (_) {
|
||||
configuration.proxyPassDomains = textEditingController.text;
|
||||
proxyServer.configuration.flushConfig();
|
||||
},
|
||||
decoration: const InputDecoration(
|
||||
contentPadding: EdgeInsets.all(10),
|
||||
border: OutlineInputBorder(),
|
||||
),
|
||||
contentPadding: EdgeInsets.all(10),
|
||||
border: OutlineInputBorder(),
|
||||
),
|
||||
maxLines: 5,
|
||||
minLines: 1)),
|
||||
// const SizedBox(height: 10),
|
||||
|
||||
@@ -289,6 +289,10 @@ class _SettingPage extends StatelessWidget {
|
||||
textInputAction: TextInputAction.done,
|
||||
style: const TextStyle(fontSize: 13),
|
||||
controller: textEditingController,
|
||||
onSubmitted: (_) {
|
||||
configuration.proxyPassDomains = textEditingController.text;
|
||||
proxyServer.configuration.flushConfig();
|
||||
},
|
||||
decoration: const InputDecoration(
|
||||
contentPadding: EdgeInsets.all(10),
|
||||
border: OutlineInputBorder()),
|
||||
|
||||
Reference in New Issue
Block a user