fix(flutter): 回退底部导航为四槽

This commit is contained in:
Zhou Weidong committed 2026-10-20 10:18:12 +08:00
1 parent e448003f1b
commit 2f1a4c5c69
10 files changed
+21 -139

No files matched your search

-4
View File
@@ -340,10 +340,6 @@ class _DiscoverPageState extends State<DiscoverPage> {
}
Widget _bottomNav(AppLocalizations l10n) => AppBottomNav(
centerAction: AppBottomNavCenterAction(
label: l10n.createTab,
onTap: () => _act(DiscoverPageAction.create),
),
items: [
AppBottomNavItem(
tabKey: const Key('discover-nav-home'),
-4
View File
@@ -195,10 +195,6 @@ class _HomeTabsState extends State<_HomeTabs> {
Widget _nav(BuildContext context, AppLocalizations l10n) {
return AppBottomNav(
barKey: const Key('home-tabs-bar'),
centerAction: AppBottomNavCenterAction(
label: l10n.createTab,
onTap: () => _selectTab(context, 2),
),
items: [
_navItem(context, l10n, 0),
_navItem(context, l10n, 1),
-4
View File
@@ -242,10 +242,6 @@ class _MyPageState extends State<MyPage> {
Widget _bottomNav(AppLocalizations l10n) {
return AppBottomNav(
centerAction: AppBottomNavCenterAction(
label: l10n.createTab,
onTap: () => _act(MyPageAction.create),
),
items: [
AppBottomNavItem(
tabKey: const Key('mine-nav-home'),