mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
opt member fav
fix parse duration Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -142,8 +142,8 @@ class _MemberPageState extends State<MemberPage> {
|
||||
if (_userController.accountService.isLogin.value)
|
||||
if (_userController.mid ==
|
||||
_userController.accountService.mid) ...[
|
||||
if ((_userController
|
||||
.loadingState.value.data?.card?.vip?.status ??
|
||||
if ((_userController.loadingState.value.dataOrNull?.card?.vip
|
||||
?.status ??
|
||||
0) >
|
||||
0)
|
||||
PopupMenuItem(
|
||||
|
||||
@@ -17,7 +17,7 @@ class MemberFavItem extends StatelessWidget {
|
||||
type: MaterialType.transparency,
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
if (item.type == 2) {
|
||||
if (item.type == 2 || item.type == 0 || item.type == 11) {
|
||||
Get.toNamed(
|
||||
'/favDetail',
|
||||
parameters: {
|
||||
|
||||
Reference in New Issue
Block a user