优化标签页,侧边栏,我的界面

This commit is contained in:
DelLevin-Home
2026-05-23 18:14:16 +08:00
parent 254ddd8970
commit 674a981aac
4 changed files with 893 additions and 2071 deletions

View File

@@ -28,8 +28,8 @@ class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
drawer: context.watch<AppProvider>().bottomNavIndex == 0
? CustomDrawer()
drawer: context.watch<AppProvider>().bottomNavIndex != 1
? const CustomDrawer()
: null,
body: Consumer<AppProvider>(