fix search action

This commit is contained in:
2024-11-12 17:37:29 +08:00
parent c4f531a463
commit a427bcdf84
2 changed files with 8 additions and 3 deletions

View File

@@ -78,6 +78,11 @@ class _MainPageState extends State<MainPage> {
activeIcon: Icons.category,
),
],
onPageChanged: (i) {
setState(() {
index = i;
});
},
paneActions: [
if(index != 0)
PaneActionEntry(