mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 三方登录由TV端替换为HD版
This commit is contained in:
@@ -69,11 +69,17 @@ class _PrivacySettingState extends State<PrivacySetting> {
|
||||
leading: const Icon(Icons.block),
|
||||
),
|
||||
ListTile(
|
||||
onTap: () {
|
||||
onTap: () async {
|
||||
if (!userLogin) {
|
||||
SmartDialog.showToast('请先登录');
|
||||
return;
|
||||
}
|
||||
var res = await MemberHttp.cookieToKey();
|
||||
if (res['status']) {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
} else {
|
||||
SmartDialog.showToast('刷新失败:${res['msg']}');
|
||||
}
|
||||
MemberHttp.cookieToKey();
|
||||
},
|
||||
dense: false,
|
||||
title: Text('刷新access_key', style: titleStyle),
|
||||
|
||||
Reference in New Issue
Block a user