fix: 修复收藏已关注up视频无变化;快速收藏没有加载弹窗;快速收藏不能快速取消;快速收藏专属提示

This commit is contained in:
orz12
2024-02-18 20:04:02 +08:00
parent b4452fd700
commit bf7667faee
2 changed files with 12 additions and 25 deletions

View File

@@ -175,18 +175,7 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
// 长按选择文件夹
if (enableDragQuickFav) {
if (type == 'tap') {
if (!videoIntroController.hasFav.value) {
videoIntroController.actionFavVideo(type: 'default');
} else {
showModalBottomSheet(
context: context,
useRootNavigator: true,
isScrollControlled: true,
builder: (BuildContext context) {
return FavPanel(ctr: videoIntroController);
},
);
}
videoIntroController.actionFavVideo(type: 'default');
} else {
showModalBottomSheet(
context: context,