diff --git a/flutter/lib/common/widgets/peer_tab_page.dart b/flutter/lib/common/widgets/peer_tab_page.dart index 59ae64274..0bc621d31 100644 --- a/flutter/lib/common/widgets/peer_tab_page.dart +++ b/flutter/lib/common/widgets/peer_tab_page.dart @@ -88,6 +88,9 @@ class _PeerTabPageState extends State Future handleTabSelection(int tabIndex) async { if (tabIndex < entries.length) { + if (tabIndex != gFFI.peerTabModel.currentTab) { + gFFI.peerTabModel.setCurrentTabCachedPeers([]); + } gFFI.peerTabModel.setCurrentTab(tabIndex); entries[tabIndex].load(hint: false); }