new: pick from file to add key #9

This commit is contained in:
lollipopkit
2023-02-16 12:55:23 +08:00
parent 28a6067033
commit 1aac166c43
9 changed files with 143 additions and 79 deletions

View File

@@ -44,12 +44,12 @@ get _initSwap => Swap(
cached: 0,
);
get initStatus => ServerStatus(
cpu: initCpuStatus,
mem: _initMemory,
sysVer: 'Loading...',
uptime: '',
disk: [DiskInfo('/', '/', 0, '0', '0', '0')],
tcp: TcpStatus(0, 0, 0, 0),
netSpeed: initNetSpeed,
swap: _initSwap,
);
cpu: initCpuStatus,
mem: _initMemory,
sysVer: 'Loading...',
uptime: '',
disk: [DiskInfo('/', '/', 0, '0', '0', '0')],
tcp: TcpStatus(0, 0, 0, 0),
netSpeed: initNetSpeed,
swap: _initSwap,
);