mod: 冗余收藏入口移除

This commit is contained in:
orz12
2024-03-22 02:13:35 +08:00
parent e13f375246
commit 1adf9caec5
2 changed files with 4 additions and 9 deletions

View File

@@ -23,11 +23,6 @@ class MediaController extends GetxController {
'title': '观看记录', 'title': '观看记录',
'onTap': () => Get.toNamed('/history'), 'onTap': () => Get.toNamed('/history'),
}, },
{
'icon': Icons.star_border,
'title': '我的收藏',
'onTap': () => Get.toNamed('/fav'),
},
{ {
'icon': Icons.subscriptions_outlined, 'icon': Icons.subscriptions_outlined,
'title': '我的订阅', 'title': '我的订阅',

View File

@@ -102,7 +102,7 @@ class _MediaPageState extends State<MediaPage>
], ],
Obx(() => mediaController.userLogin.value Obx(() => mediaController.userLogin.value
? favFolder(mediaController, context) ? favFolder(mediaController, context)
: const SizedBox()) : const SizedBox(height: 0))
], ],
), ),
), ),
@@ -113,11 +113,11 @@ class _MediaPageState extends State<MediaPage>
return Column( return Column(
children: [ children: [
Divider( Divider(
height: 35, height: 20,
color: Theme.of(context).dividerColor.withOpacity(0.1), color: Theme.of(context).dividerColor.withOpacity(0.1),
), ),
ListTile( ListTile(
onTap: () {}, onTap: () => Get.toNamed('/fav'),
leading: null, leading: null,
dense: true, dense: true,
title: Padding( title: Padding(
@@ -127,7 +127,7 @@ class _MediaPageState extends State<MediaPage>
TextSpan( TextSpan(
children: [ children: [
TextSpan( TextSpan(
text: '收藏 ', text: '我的收藏 ',
style: TextStyle( style: TextStyle(
fontSize: fontSize:
Theme.of(context).textTheme.titleMedium!.fontSize, Theme.of(context).textTheme.titleMedium!.fontSize,