feat: open in browser

Closes #140

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-11 10:05:01 +08:00
parent 54d13fe7f2
commit 2d338450f4
17 changed files with 60 additions and 166 deletions

View File

@@ -134,14 +134,7 @@ class VideoCardV extends StatelessWidget {
break;
default:
SmartDialog.showToast(videoItem.goto);
Get.toNamed(
'/webview',
parameters: {
'url': videoItem.uri,
'type': 'url',
'pageTitle': videoItem.title,
},
);
Utils.handleWebview(videoItem.uri);
}
}

View File

@@ -123,14 +123,7 @@ class VideoCardVMemberHome extends StatelessWidget {
// break;
default:
SmartDialog.showToast(goto);
Get.toNamed(
'/webview',
parameters: {
'url': videoItem.uri ?? '',
'type': 'url',
'pageTitle': videoItem.title ?? '',
},
);
Utils.handleWebview(videoItem.uri ?? '');
}
}