mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: remove webview msg btn
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -54,22 +54,22 @@ class _WhisperPageState extends State<WhisperPage> {
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user