right menu to show/hide peer card

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-12-04 15:15:48 +08:00
parent fb0c75f188
commit be74f90334
31 changed files with 198 additions and 101 deletions

View File

@@ -75,20 +75,7 @@ class _ConnectionPageState extends State<ConnectionPage> {
])),
SliverFillRemaining(
hasScrollBody: false,
child: PeerTabPage(
tabs: [
translate('Recent Sessions'),
translate('Favorites'),
translate('Discovered'),
translate('Address Book')
],
children: [
RecentPeersView(),
FavoritePeersView(),
DiscoveredPeersView(),
const AddressBook(),
],
),
child: PeerTabPage(),
)
],
).marginOnly(top: 2, left: 10, right: 10);