diff --git a/flutter/lib/common/widgets/peer_tab_page.dart b/flutter/lib/common/widgets/peer_tab_page.dart index 0361ba511..30482314a 100644 --- a/flutter/lib/common/widgets/peer_tab_page.dart +++ b/flutter/lib/common/widgets/peer_tab_page.dart @@ -41,7 +41,7 @@ EdgeInsets? _menuPadding() { class _PeerTabPageState extends State with SingleTickerProviderStateMixin { - bool _hideSort = bind.getLocalFlutterConfig(k: 'peer-tab-index') == '0'; + bool _hideSort = gFFI.peerTabModel.currentTab == 0; final List<_TabEntry> entries = [ _TabEntry(