Skip to content

Commit 8b7fc73

Browse files
committed
♻️ 代码目录结构调整
1 parent 203e99b commit 8b7fc73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+583
-641
lines changed

lib/app.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
44
import 'package:flutter_screenutil/flutter_screenutil.dart';
55

66
// Project imports:
7-
import 'components/app/app_nav.dart';
87
import 'store/app_store.dart';
8+
import 'widgets/app/app_nav.dart';
99

1010
/// 应用入口
1111
class BTApp extends ConsumerWidget {
@@ -43,7 +43,7 @@ class BTApp extends ConsumerWidget {
4343
title: 'BangumiToday',
4444
themeMode: appStore.themeMode,
4545
theme: getTheme(context, appStore),
46-
home: const AppNav(),
46+
home: const AppNavWidget(),
4747
);
4848
},
4949
);

lib/components/app/app_dialog.dart

-90
This file was deleted.

lib/components/app/app_dialog_resp.dart

-97
This file was deleted.

lib/components/app/app_infobar.dart

-44
This file was deleted.

lib/components/base/base_theme.dart

-46
This file was deleted.

lib/components/base/base_theme_icon.dart

-55
This file was deleted.

lib/controller/app/page_controller.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import 'package:fluent_ui/fluent_ui.dart';
33

44
// Project imports:
5-
import '../../components/app/app_infobar.dart';
5+
import '../../ui/bt_infobar.dart';
66

77
/// 页面controller
88
/// todo 支持自定义 limit,将 total 转为总数量而非总页数

0 commit comments

Comments
 (0)