some fixes (#498)

* nologin reject headtbeat

* fix: change anonymity

* use account as key
This commit is contained in:
My-Responsitories
2025-03-23 13:46:04 +08:00
committed by GitHub
parent 9d0ac30fad
commit 7c3e3cb1f8
7 changed files with 33 additions and 26 deletions

View File

@@ -874,9 +874,8 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
.viewLater();
break;
case 'report':
if (videoDetailController
.userInfo ==
null) {
if (!Accounts
.main.isLogin) {
SmartDialog.showToast(
'账号未登录');
} else {
@@ -1418,7 +1417,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
await videoIntroController.viewLater();
break;
case 'report':
if (videoDetailController.userInfo == null) {
if (!Accounts.main.isLogin) {
SmartDialog.showToast('账号未登录');
} else {
Get.toNamed('/webview', parameters: {