fix(ios): accept truthy A2UI ready check
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user