mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add new server settings enableServerTiming
This commit is contained in:
@@ -317,6 +317,18 @@ class _ServerSettingsPage extends State<ServerSettingsPage>
|
||||
}
|
||||
},
|
||||
label: Text(i18n.checkFileHash))),
|
||||
_buildWithVecticalPadding(LabeledCheckbox(
|
||||
value: _now.enableServerTiming ?? _config!.enableServerTiming,
|
||||
onChanged: (b) {
|
||||
if (b != null) {
|
||||
setState(() {
|
||||
_now.enableServerTiming = b;
|
||||
_changed = true;
|
||||
});
|
||||
}
|
||||
},
|
||||
label: Text(i18n.enableServerTiming),
|
||||
)),
|
||||
]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user