fix: 修复账号切换时可能卡在选择账号之后的错误 (#6933)

This commit is contained in:
MistEO
2023-10-16 18:15:23 +08:00
committed by GitHub
2 changed files with 20 additions and 3 deletions

View File

@@ -3258,6 +3258,25 @@
150
]
},
"AccountListSwipeToTop": {
"algorithm": "JustReturn",
"action": "Swipe",
"specificRect": [
700,
330,
20,
20
],
"rectMove": [
700,
380,
20,
20
],
"specialParams": [
150
]
},
"StartUpThemes": {
"algorithm": "JustReturn",
"next": [

View File

@@ -125,9 +125,7 @@ bool asst::AccountSwitchTask::verify_client_type()
bool asst::AccountSwitchTask::click_manager_login_button()
{
auto task = ProcessTask(*this, { "AccountManagerLoginButton", "AccountManagerLoginButtonBili" });
task.set_retry_times(0);
return task.run();
return ProcessTask(*this, { "AccountManagerLoginButton", "AccountManagerLoginButtonBili" }).run();
}
bool asst::AccountSwitchTask::show_account_list()