Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-27 20:54:41 +08:00
parent 25acf3a9bb
commit b51c646415
227 changed files with 768 additions and 764 deletions

View File

@@ -71,8 +71,8 @@ abstract final class Accounts {
// }
static Future<void> refresh() async {
for (var a in account.values) {
for (var t in a.type) {
for (final a in account.values) {
for (final t in a.type) {
accountMode[t.index] = a;
}
}
@@ -93,7 +93,7 @@ abstract final class Accounts {
}
static Future<void> deleteAll(Set<Account> accounts) async {
var isLoginMain = Accounts.main.isLogin;
final isLoginMain = Accounts.main.isLogin;
for (int i = 0; i < AccountType.values.length; i++) {
if (accounts.contains(accountMode[i])) {
accountMode[i] = AnonymousAccount();