mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
chore: clean up
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -24,7 +24,6 @@ class FavDetailController
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
// item = Get.arguments;
|
||||
if (Get.parameters.keys.isNotEmpty) {
|
||||
mediaId = int.parse(Get.parameters['mediaId']!);
|
||||
heroTag = Get.parameters['heroTag']!;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import 'package:PiliPlus/build_config.dart';
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/http/user.dart';
|
||||
import 'package:PiliPlus/models/user/fav_detail.dart';
|
||||
@@ -126,20 +125,13 @@ class _FavSortPageState extends State<FavSortPage> {
|
||||
),
|
||||
children: sortList
|
||||
.map(
|
||||
(item) => Stack(
|
||||
(item) => SizedBox(
|
||||
key: Key(item.id.toString()),
|
||||
children: [
|
||||
FavVideoCardH(
|
||||
isSort: true,
|
||||
videoItem: item,
|
||||
),
|
||||
if (BuildConfig.isDebug)
|
||||
Positioned(
|
||||
top: 35,
|
||||
right: 10,
|
||||
child: Text(item.id.toString()),
|
||||
)
|
||||
],
|
||||
height: 98,
|
||||
child: FavVideoCardH(
|
||||
isSort: true,
|
||||
videoItem: item,
|
||||
),
|
||||
),
|
||||
)
|
||||
.toList(),
|
||||
|
||||
Reference in New Issue
Block a user