diff --git a/lib/data/res/build_data.dart b/lib/data/res/build_data.dart index 12f79cd6..8bffdf4a 100644 --- a/lib/data/res/build_data.dart +++ b/lib/data/res/build_data.dart @@ -2,8 +2,8 @@ class BuildData { static const String name = "ToolBox"; - static const int build = 69; - static const String engine = "Flutter 2.8.1 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 77d935af4d (2 weeks ago) • 2021-12-16 08:37:33 -0800\nEngine • revision 890a5fca2e\nTools • Dart 2.15.1\n"; - static const String buildAt = "2022-01-02 19:20:43.964228"; + static const int build = 70; + static const String engine = "Flutter 2.8.1 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 77d935af4d (3 weeks ago) • 2021-12-16 08:37:33 -0800\nEngine • revision 890a5fca2e\nTools • Dart 2.15.1\n"; + static const String buildAt = "2022-01-03 14:58:50.087508"; static const int modifications = 2; } diff --git a/lib/view/page/server/detail.dart b/lib/view/page/server/detail.dart index 14cc2334..01062cfb 100644 --- a/lib/view/page/server/detail.dart +++ b/lib/view/page/server/detail.dart @@ -64,7 +64,8 @@ class _ServerDetailPageState extends State _buildCPUView(si.status), _buildDiskView(si.status), _buildMemView(si.status), - _buildNetView(si.status.netSpeed) + _buildNetView(si.status.netSpeed), + SizedBox(height: _media.padding.bottom), ], ), ); diff --git a/lib/view/page/server/tab.dart b/lib/view/page/server/tab.dart index f424503e..128506d1 100644 --- a/lib/view/page/server/tab.dart +++ b/lib/view/page/server/tab.dart @@ -67,7 +67,7 @@ class _ServerPageState extends State child: AnimationLimiter( child: Column( children: AnimationConfiguration.toStaggeredList( - duration: const Duration(milliseconds: 477), + duration: const Duration(milliseconds: 377), childAnimationBuilder: (widget) => SlideAnimation( verticalOffset: 77.0, child: FadeInAnimation( @@ -76,7 +76,8 @@ class _ServerPageState extends State ), children: [ const SizedBox(height: 13), - ...pro.servers.map((e) => _buildEachServerCard(e)) + ...pro.servers.map((e) => _buildEachServerCard(e)), + SizedBox(height: _media.padding.bottom), ], ))), ); @@ -131,7 +132,7 @@ class _ServerPageState extends State final topRightStr = getTopRightStr(cs, ss.cpu2Status.temp, ss.uptime, ss.failedInfo); - final hasError = cs == ServerConnectionState.failed; + final hasError = cs == ServerConnectionState.failed && ss.failedInfo != null; final style = TextStyle( color: _theme.textTheme.bodyText1!.color!.withAlpha(100), fontSize: 11);