重构
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../constants/app_constants.dart';
|
||||
import '../utils/responsive_layout.dart';
|
||||
import '../utils/flutter_compatibility_fix.dart';
|
||||
import '../widgets/tabbed_nav_app_bar.dart';
|
||||
import 'active/active_search_page.dart';
|
||||
import 'active/category_page.dart';
|
||||
@@ -80,7 +79,6 @@ class _DiscoverPageState extends State<DiscoverPage>
|
||||
child: TabBarView(
|
||||
controller: _tabController,
|
||||
children: _categories.asMap().entries.map((entry) {
|
||||
final index = entry.key;
|
||||
final category = entry.value;
|
||||
// 搜索标签显示 ActiveSearchPage
|
||||
if (category == '搜索') {
|
||||
|
||||
Reference in New Issue
Block a user