Remove cachedPackets from HostInfo (#145)

This commit is contained in:
John Maguire 2023-12-07 15:11:50 -05:00 committed by GitHub
parent 8edd43230b
commit c64577f42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -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,

View File

@ -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}')),
]);
}