diff --git a/lib/models/HostInfo.dart b/lib/models/HostInfo.dart index 4cdaab6..0b0519b 100644 --- a/lib/models/HostInfo.dart +++ b/lib/models/HostInfo.dart @@ -5,7 +5,6 @@ class HostInfo { int localIndex; int remoteIndex; List 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, diff --git a/lib/screens/HostInfoScreen.dart b/lib/screens/HostInfoScreen.dart index c9ac64a..461ee88 100644 --- a/lib/screens/HostInfoScreen.dart +++ b/lib/screens/HostInfoScreen.dart @@ -91,7 +91,6 @@ class _HostInfoScreenState extends State { 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}')), ]); }