mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 17:26:17 +00:00
fix: Clean up whitespace and improve readability in login flow logic
This commit is contained in:
@@ -596,10 +596,10 @@ export class Login {
|
||||
}
|
||||
}
|
||||
|
||||
if (state.state === LoginState.LoggedIn) {
|
||||
this.bot.log(this.bot.isMobile, 'LOGIN', 'Already logged in, skipping email entry')
|
||||
return
|
||||
} // IMPROVED: Smart element waiting (silent)
|
||||
if (state.state === LoginState.LoggedIn) {
|
||||
this.bot.log(this.bot.isMobile, 'LOGIN', 'Already logged in, skipping email entry')
|
||||
return
|
||||
} // IMPROVED: Smart element waiting (silent)
|
||||
let emailResult = await waitForElementSmart(page, SELECTORS.emailInput, {
|
||||
initialTimeoutMs: 2000,
|
||||
extendedTimeoutMs: 5000,
|
||||
|
||||
Reference in New Issue
Block a user