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