Remove cachedPackets from HostInfo (#145)
This commit is contained in:
parent
8edd43230b
commit
c64577f42e
|
@ -5,7 +5,6 @@ class HostInfo {
|
|||
int localIndex;
|
||||
int remoteIndex;
|
||||
List<UDPAddress> remoteAddresses;
|
||||
int cachedPackets;
|
||||
Certificate? cert;
|
||||
UDPAddress? currentRemote;
|
||||
int messageCounter;
|
||||
|
@ -15,7 +14,6 @@ class HostInfo {
|
|||
required this.localIndex,
|
||||
required this.remoteIndex,
|
||||
required this.remoteAddresses,
|
||||
required this.cachedPackets,
|
||||
required this.messageCounter,
|
||||
this.cert,
|
||||
this.currentRemote,
|
||||
|
@ -43,7 +41,6 @@ class HostInfo {
|
|||
localIndex: json['localIndex'],
|
||||
remoteIndex: json['remoteIndex'],
|
||||
remoteAddresses: remoteAddresses,
|
||||
cachedPackets: json['cachedPackets'],
|
||||
messageCounter: json['messageCounter'],
|
||||
cert: cert,
|
||||
currentRemote: currentRemote,
|
||||
|
|
|
@ -91,7 +91,6 @@ class _HostInfoScreenState extends State<HostInfoScreen> {
|
|||
ConfigItem(label: Text('Remote Index'), labelWidth: 150, content: SelectableText('${hostInfo.remoteIndex}')),
|
||||
ConfigItem(
|
||||
label: Text('Message Counter'), labelWidth: 150, content: SelectableText('${hostInfo.messageCounter}')),
|
||||
ConfigItem(label: Text('Cached Packets'), labelWidth: 150, content: SelectableText('${hostInfo.cachedPackets}')),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue