mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
Fix scorll error.
This commit is contained in:
@@ -21,7 +21,10 @@ class NetSpeed {
|
||||
return devices;
|
||||
}
|
||||
|
||||
NetSpeed update(List<NetSpeedPart> newOne) => NetSpeed(now, newOne);
|
||||
void update(List<NetSpeedPart> newOne) {
|
||||
old = now;
|
||||
now = newOne;
|
||||
}
|
||||
|
||||
int get timeDiff => now[0].time - old[0].time;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user