mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -1,6 +1,7 @@
|
||||
import 'package:PiliPlus/common/widgets/icon_button.dart';
|
||||
import 'package:PiliPlus/common/widgets/image_save.dart';
|
||||
import 'package:PiliPlus/models/user/fav_detail.dart';
|
||||
import 'package:PiliPlus/utils/extension.dart';
|
||||
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -60,7 +61,8 @@ class FavVideoCardH extends StatelessWidget {
|
||||
}
|
||||
}
|
||||
|
||||
if (videoItem is FavDetailItemData && videoItem.attr != 0) {
|
||||
if (videoItem is FavDetailItemData &&
|
||||
[0, 16].contains(videoItem.attr).not) {
|
||||
Get.toNamed('/member?mid=${videoItem.owner?.mid}');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user