mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
add new server settings
This commit is contained in:
@@ -669,6 +669,24 @@ class _ServerSettingsPage extends State<ServerSettingsPage>
|
||||
});
|
||||
},
|
||||
)),
|
||||
_buildWithVecticalPadding(NumberFormField(
|
||||
min: 1,
|
||||
initialValue: _now.downloadTimeoutCheckInterval ??
|
||||
_config!.downloadTimeoutCheckInterval,
|
||||
decoration: InputDecoration(
|
||||
border: const OutlineInputBorder(),
|
||||
labelText: i18n.downloadTimeoutCheckInterval,
|
||||
suffixText: i18n.millisecond,
|
||||
helperText: i18n.downloadTimeoutCheckIntervalHelp,
|
||||
helperMaxLines: 3,
|
||||
),
|
||||
onChanged: (s) {
|
||||
setState(() {
|
||||
_now.downloadTimeoutCheckInterval = s;
|
||||
_changed = true;
|
||||
});
|
||||
},
|
||||
)),
|
||||
]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user