fix(ios): accept truthy A2UI ready check
parent
ab73c40bfe
commit
ba1626a5b9
|
|
@ -129,7 +129,8 @@ final class ScreenController {
|
||||||
} catch (_) { return false; }
|
} catch (_) { return false; }
|
||||||
})()
|
})()
|
||||||
""")
|
""")
|
||||||
if res == "true" { return true }
|
let trimmed = res.trimmingCharacters(in: .whitespacesAndNewlines).lowercased()
|
||||||
|
if trimmed == "true" || trimmed == "1" { return true }
|
||||||
} catch {
|
} catch {
|
||||||
// ignore; page likely still loading
|
// ignore; page likely still loading
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue