From df6738f607dac7c7ebc9cf63f074a38e81e61f9a Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Fri, 4 Apr 2025 18:44:26 +0800 Subject: [PATCH] mod: remove webview msg btn Signed-off-by: bggRGjQaUbCoE --- lib/pages/whisper/view.dart | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/pages/whisper/view.dart b/lib/pages/whisper/view.dart index 20c6e4be1..ab46460dd 100644 --- a/lib/pages/whisper/view.dart +++ b/lib/pages/whisper/view.dart @@ -54,22 +54,22 @@ class _WhisperPageState extends State { return Scaffold( appBar: AppBar( title: const Text('消息'), - actions: [ - IconButton( - icon: Icon(Icons.open_in_browser_outlined, - color: Theme.of(context).colorScheme.primary), - tooltip: '用浏览器打开', - onPressed: () { - Get.toNamed('/webview', parameters: { - 'url': 'https://message.bilibili.com', - 'type': 'whisper', - 'pageTitle': '消息中心', - 'uaType': 'pc', - }); - }, - ), - const SizedBox(width: 12) - ], + // actions: [ + // IconButton( + // icon: Icon(Icons.open_in_browser_outlined, + // color: Theme.of(context).colorScheme.primary), + // tooltip: '用浏览器打开', + // onPressed: () { + // Get.toNamed('/webview', parameters: { + // 'url': 'https://message.bilibili.com', + // 'type': 'whisper', + // 'pageTitle': '消息中心', + // 'uaType': 'pc', + // }); + // }, + // ), + // const SizedBox(width: 12) + // ], ), body: refreshIndicator( onRefresh: () async {