From 0fb01f1b7cede8c704cc9c4d9cd34adfff0c9620 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sat, 31 May 2025 20:02:20 +0800 Subject: [PATCH] Revert "opt: buvid3" This reverts commit 17ea416c989fa30f4a5c958c2cebef9db5d7351b. --- lib/utils/accounts/account.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/utils/accounts/account.dart b/lib/utils/accounts/account.dart index 2d4e5b3b..06f5fa5a 100644 --- a/lib/utils/accounts/account.dart +++ b/lib/utils/accounts/account.dart @@ -76,12 +76,10 @@ class LoginAccount implements Account { this.accessKey, this.refresh, [ Set? type, - ]) : type = type ?? {} { - cookieJar.setBuvid3(); - } + ]) : type = type ?? {}; factory LoginAccount.fromJson(Map json) => LoginAccount( - BiliCookieJar.fromJson(json['cookies']), + BiliCookieJar.fromJson(json['cookies'])..setBuvid3(), json['accessKey'], json['refresh'], (json['type'] as Iterable?)?.map((i) => AccountType.values[i]).toSet(),