opt: coin/like item jump

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-30 10:30:55 +08:00
parent 17a75da540
commit b3f117d28e
6 changed files with 21 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ class VideoCardV extends StatelessWidget {
}
void onPushDetail(heroTag) async {
String goto = videoItem.goto!;
String? goto = videoItem.goto;
switch (goto) {
case 'bangumi':
PageUtils.viewBangumi(epId: videoItem.param!);

View File

@@ -20,7 +20,7 @@ class VideoCardVMemberHome extends StatelessWidget {
});
void onPushDetail(heroTag) async {
String goto = videoItem.goto ?? '';
String? goto = videoItem.goto;
switch (goto) {
case 'bangumi':
PageUtils.viewBangumi(epId: videoItem.param);