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/icon_button.dart';
|
||||||
import 'package:PiliPlus/common/widgets/image_save.dart';
|
import 'package:PiliPlus/common/widgets/image_save.dart';
|
||||||
import 'package:PiliPlus/models/user/fav_detail.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:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
import 'package:flutter/material.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}');
|
Get.toNamed('/member?mid=${videoItem.owner?.mid}');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -635,7 +635,7 @@ class VideoIntroController extends GetxController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 重新请求相关视频
|
// 重新请求相关视频
|
||||||
if (videoDetailCtr.showRelatedVideo) {
|
if (videoDetailCtr.showRelatedVideo && isStein != true) {
|
||||||
try {
|
try {
|
||||||
Get.find<RelatedController>(tag: heroTag)
|
Get.find<RelatedController>(tag: heroTag)
|
||||||
..bvid = bvid
|
..bvid = bvid
|
||||||
@@ -644,7 +644,7 @@ class VideoIntroController extends GetxController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 重新请求评论
|
// 重新请求评论
|
||||||
if (videoDetailCtr.showReply) {
|
if (videoDetailCtr.showReply && isStein != true) {
|
||||||
try {
|
try {
|
||||||
Get.find<VideoReplyController>(tag: heroTag)
|
Get.find<VideoReplyController>(tag: heroTag)
|
||||||
..aid = aid
|
..aid = aid
|
||||||
|
|||||||
Reference in New Issue
Block a user