* opt: proxy

* opt: calcWindowPosition

* fix: height depend on svg

* bump

* fix

* ci: cache linux

* string systemProxyPort

---------

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-10-04 09:44:41 +08:00
committed by GitHub
parent a928e48159
commit a5715868b3
9 changed files with 315 additions and 173 deletions

View File

@@ -984,7 +984,7 @@ List<SettingsModel> get extraSettings => [
TextField(
decoration: InputDecoration(
isDense: true,
labelText: systemProxyHost != ''
labelText: systemProxyHost.isNotEmpty
? systemProxyHost
: '请输入Host使用 . 分割',
border: const OutlineInputBorder(
@@ -992,16 +992,14 @@ List<SettingsModel> get extraSettings => [
),
hintText: systemProxyHost,
),
onChanged: (e) {
systemProxyHost = e;
},
onChanged: (e) => systemProxyHost = e,
),
const SizedBox(height: 10),
TextField(
keyboardType: TextInputType.number,
decoration: InputDecoration(
isDense: true,
labelText: systemProxyPort != ''
labelText: systemProxyPort.isNotEmpty
? systemProxyPort
: '请输入Port',
border: const OutlineInputBorder(
@@ -1009,9 +1007,8 @@ List<SettingsModel> get extraSettings => [
),
hintText: systemProxyPort,
),
onChanged: (e) {
systemProxyPort = e;
},
inputFormatters: [FilteringTextInputFormatter.digitsOnly],
onChanged: (e) => systemProxyPort = e,
),
],
),