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:
@@ -692,6 +692,22 @@ class _ServerSettingsPage extends State<ServerSettingsPage>
|
||||
});
|
||||
},
|
||||
)),
|
||||
_buildWithVecticalPadding(NumberFormField(
|
||||
min: 1,
|
||||
initialValue:
|
||||
_now.ehMetadataCacheTime ?? _config!.ehMetadataCacheTime,
|
||||
decoration: InputDecoration(
|
||||
border: const OutlineInputBorder(),
|
||||
labelText: i18n.ehMetadataCacheTime,
|
||||
suffixText: i18n.hour,
|
||||
),
|
||||
onChanged: (s) {
|
||||
setState(() {
|
||||
_now.ehMetadataCacheTime = s;
|
||||
_changed = true;
|
||||
});
|
||||
},
|
||||
)),
|
||||
]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user