fix heartbeat

Closes #929

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-04 12:08:04 +08:00
parent 3208661a52
commit d246462535
8 changed files with 28 additions and 16 deletions

View File

@@ -478,7 +478,7 @@ class PlPlayerController {
// 添加一个私有构造函数
PlPlayerController._({bool isLive = false}) {
_isLive = isLive;
if (!Accounts.get(AccountType.heartbeat).isLogin || Pref.historyPause) {
if (!Accounts.heartbeat.isLogin || Pref.historyPause) {
enableHeart = false;
}