mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 03:26:22 +08:00
@@ -20,8 +20,9 @@ class _FavFolderSortPageState extends State<FavFolderSortPage> {
|
||||
FavController get _favController => widget.favController;
|
||||
|
||||
final GlobalKey _key = GlobalKey();
|
||||
late List<FavFolderInfo> sortList =
|
||||
List<FavFolderInfo>.from(_favController.loadingState.value.data!);
|
||||
late List<FavFolderInfo> sortList = List<FavFolderInfo>.from(
|
||||
_favController.loadingState.value.data!,
|
||||
);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -89,8 +90,9 @@ class _FavFolderSortPageState extends State<FavFolderSortPage> {
|
||||
child: FavVideoItem(
|
||||
heroTag: key,
|
||||
item: item,
|
||||
onLongPress:
|
||||
index == 0 ? () => SmartDialog.showToast('默认收藏夹不支持排序') : null,
|
||||
onLongPress: index == 0
|
||||
? () => SmartDialog.showToast('默认收藏夹不支持排序')
|
||||
: null,
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user