merge mine & media

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-28 14:27:18 +08:00
parent 6ca7efe8d1
commit 65b432ed2c
40 changed files with 903 additions and 1038 deletions

View File

@@ -1,7 +1,7 @@
import 'package:PiliPlus/models/common/enum_with_label.dart';
import 'package:PiliPlus/pages/dynamics/view.dart';
import 'package:PiliPlus/pages/home/view.dart';
import 'package:PiliPlus/pages/media/view.dart';
import 'package:PiliPlus/pages/mine/view.dart';
import 'package:flutter/material.dart';
enum NavigationBarType implements EnumWithLabel {
@@ -17,11 +17,11 @@ enum NavigationBarType implements EnumWithLabel {
Icon(Icons.motion_photos_on, size: 21),
DynamicsPage(),
),
media(
'媒体库',
Icon(Icons.video_collection_outlined, size: 21),
Icon(Icons.video_collection, size: 21),
MediaPage(),
mine(
'我的',
Icon(Icons.person_outline, size: 21),
Icon(Icons.person, size: 21),
MinePage(),
);
@override

View File

@@ -16,8 +16,8 @@ enum ThemeType {
};
Icon get icon => switch (this) {
ThemeType.light => const Icon(MdiIcons.weatherSunny, size: 24),
ThemeType.dark => const Icon(MdiIcons.weatherNight, size: 24),
ThemeType.system => const Icon(MdiIcons.themeLightDark, size: 24),
ThemeType.light => const Icon(MdiIcons.weatherSunny),
ThemeType.dark => const Icon(MdiIcons.weatherNight),
ThemeType.system => const Icon(MdiIcons.themeLightDark),
};
}