mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -22,7 +22,7 @@ import 'package:intl/intl.dart';
|
||||
|
||||
// 视频卡片 - 垂直布局
|
||||
class VideoCardV extends StatelessWidget {
|
||||
final BaseRecVideoItemModel videoItem;
|
||||
final BaseRcmdVideoItemModel videoItem;
|
||||
final VoidCallback? onRemove;
|
||||
|
||||
const VideoCardV({
|
||||
@@ -229,7 +229,7 @@ class VideoCardV extends StatelessWidget {
|
||||
value: videoItem.stat.danmu,
|
||||
),
|
||||
],
|
||||
if (videoItem is RecVideoItemModel) ...[
|
||||
if (videoItem is RcmdVideoItemModel) ...[
|
||||
const Spacer(),
|
||||
Text.rich(
|
||||
maxLines: 1,
|
||||
@@ -248,7 +248,7 @@ class VideoCardV extends StatelessWidget {
|
||||
const SizedBox(width: 2),
|
||||
],
|
||||
// deprecated
|
||||
// else if (videoItem is RecVideoItemAppModel &&
|
||||
// else if (videoItem is RcmdVideoItemAppModel &&
|
||||
// videoItem.desc != null &&
|
||||
// videoItem.desc!.contains(' · ')) ...[
|
||||
// const Spacer(),
|
||||
|
||||
@@ -135,7 +135,7 @@ class VideoPopupMenu extends StatelessWidget {
|
||||
SmartDialog.showToast("请退出账号后重新登录");
|
||||
return;
|
||||
}
|
||||
if (videoItem case final RecVideoItemAppModel item) {
|
||||
if (videoItem case final RcmdVideoItemAppModel item) {
|
||||
ThreePoint? tp = item.threePoint;
|
||||
if (tp == null) {
|
||||
SmartDialog.showToast("未能获取threePoint");
|
||||
|
||||
Reference in New Issue
Block a user