mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 冗余收藏入口移除
This commit is contained in:
@@ -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': '我的订阅',
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user