mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
fix: disk size display
This commit is contained in:
@@ -432,9 +432,7 @@ class _ServerPageState extends State<ServerPage>
|
||||
return FadeTransition(opacity: animation, child: child);
|
||||
},
|
||||
child: _buildIOData(
|
||||
isSpeed
|
||||
? '${l10n.read}:\n$r'
|
||||
: 'Total:\n${rootDisk?.size.kb2Str}',
|
||||
isSpeed ? '${l10n.read}:\n$r' : 'Total:\n${rootDisk?.size.kb2Str}',
|
||||
isSpeed ? '${l10n.write}:\n$w' : 'Used:\n${rootDisk?.usedPercent}%',
|
||||
onTap: () {
|
||||
cardNoti.value = cardNoti.value.copyWith(diskIO: !isSpeed);
|
||||
|
||||
Reference in New Issue
Block a user