mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
feat: open in browser
Closes #140 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -108,16 +108,9 @@ InlineSpan? richNode(item, context) {
|
||||
PiliScheme.routePush(Uri.parse(url));
|
||||
return;
|
||||
}
|
||||
Get.toNamed(
|
||||
'/webview',
|
||||
parameters: {
|
||||
'url': url.startsWith('//')
|
||||
? "https://${url.split('//').last}"
|
||||
: url,
|
||||
'type': 'url',
|
||||
'pageTitle': ''
|
||||
},
|
||||
);
|
||||
Utils.handleWebview(url.startsWith('//')
|
||||
? "https://${url.split('//').last}"
|
||||
: url);
|
||||
},
|
||||
child: Text(
|
||||
i.text ?? '',
|
||||
|
||||
Reference in New Issue
Block a user