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': '观看记录',
'onTap': () => Get.toNamed('/history'),
},
{
'icon': Icons.star_border,
'title': '我的收藏',
'onTap': () => Get.toNamed('/fav'),
},
{
'icon': Icons.subscriptions_outlined,
'title': '我的订阅',

View File

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