mod: remove webview msg btn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-04 18:44:26 +08:00
parent ee64f1e7f1
commit df6738f607

View File

@@ -54,22 +54,22 @@ class _WhisperPageState extends State<WhisperPage> {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text('消息'), title: const Text('消息'),
actions: [ // actions: [
IconButton( // IconButton(
icon: Icon(Icons.open_in_browser_outlined, // icon: Icon(Icons.open_in_browser_outlined,
color: Theme.of(context).colorScheme.primary), // color: Theme.of(context).colorScheme.primary),
tooltip: '用浏览器打开', // tooltip: '用浏览器打开',
onPressed: () { // onPressed: () {
Get.toNamed('/webview', parameters: { // Get.toNamed('/webview', parameters: {
'url': 'https://message.bilibili.com', // 'url': 'https://message.bilibili.com',
'type': 'whisper', // 'type': 'whisper',
'pageTitle': '消息中心', // 'pageTitle': '消息中心',
'uaType': 'pc', // 'uaType': 'pc',
}); // });
}, // },
), // ),
const SizedBox(width: 12) // const SizedBox(width: 12)
], // ],
), ),
body: refreshIndicator( body: refreshIndicator(
onRefresh: () async { onRefresh: () async {