Revert "opt: buvid3"

This reverts commit 17ea416c98.
This commit is contained in:
bggRGjQaUbCoE
2025-05-31 20:02:20 +08:00
parent 91fe0492c1
commit 0fb01f1b7c

View File

@@ -76,12 +76,10 @@ class LoginAccount implements Account {
this.accessKey,
this.refresh, [
Set<AccountType>? type,
]) : type = type ?? {} {
cookieJar.setBuvid3();
}
]) : type = type ?? {};
factory LoginAccount.fromJson(Map<String, dynamic> 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(),