mod: grpc reply: jump to vote

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-09 20:59:58 +08:00
parent a84c153bdd
commit 7744217d17

View File

@@ -703,15 +703,16 @@ class ReplyItemGrpc extends StatelessWidget {
style: TextStyle(
color: Theme.of(context).colorScheme.primary,
),
recognizer: TapGestureRecognizer()..onTap = () {}
// Get.toNamed(
// '/webview',
// parameters: {
// 'url': content.vote['url'],
// 'type': 'vote',
// 'pageTitle': content.vote.title,
// },
// ),
recognizer: TapGestureRecognizer()
..onTap = () {
Get.toNamed(
'/webview',
parameters: {
'url':
'https://t.bilibili.com/vote/h5/index/#/result?vote_id=${content.vote.id}',
},
);
},
),
);
return '';