mod: 临时添加创作中心与编辑资料的网页版链接

This commit is contained in:
orz12
2024-02-22 20:05:18 +08:00
parent 9f7d800af0
commit 03b46bf6df
2 changed files with 15 additions and 1 deletions

View File

@@ -221,7 +221,12 @@ class ProfilePanel extends StatelessWidget {
if (ctr.ownerMid == ctr.mid && ctr.ownerMid != -1) ...[
TextButton(
onPressed: () {
SmartDialog.showToast('功能开发中 💪');
Get.toNamed('/webview', parameters: {
'url':
'https://account.bilibili.com/account/home',
'pageTitle': '编辑资料(建议浏览器打开)',
'type': 'url'
});
},
style: TextButton.styleFrom(
padding: const EdgeInsets.only(left: 80, right: 80),