mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 01:27:49 +08:00
merge mine & media
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user