mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
opt.: server status update interval
This commit is contained in:
@@ -140,7 +140,6 @@ class _SettingPageState extends State<SettingPage> {
|
|||||||
body: ListView(
|
body: ListView(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 17),
|
padding: const EdgeInsets.symmetric(horizontal: 17),
|
||||||
children: [
|
children: [
|
||||||
/// TODO: Remember add new items in front of the each list, so the user can easily find the new items
|
|
||||||
_buildTitle('App'),
|
_buildTitle('App'),
|
||||||
_buildApp(),
|
_buildApp(),
|
||||||
_buildTitle(l10n.server),
|
_buildTitle(l10n.server),
|
||||||
@@ -271,10 +270,12 @@ class _SettingPageState extends State<SettingPage> {
|
|||||||
10,
|
10,
|
||||||
(index) => PopupMenuItem(
|
(index) => PopupMenuItem(
|
||||||
value: index,
|
value: index,
|
||||||
child: Text('$index ${l10n.second}'),
|
child: Text(index == 0 ? l10n.manual : '$index ${l10n.second}'),
|
||||||
),
|
),
|
||||||
growable: false,
|
growable: false,
|
||||||
).toList();
|
).toList();
|
||||||
|
// 1 second is too fast, so remove it
|
||||||
|
items.removeAt(1);
|
||||||
|
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text(
|
title: Text(
|
||||||
|
|||||||
Reference in New Issue
Block a user