fix(ios): accept truthy A2UI ready check

main
Peter Steinberger 2025-12-26 21:17:29 +01:00
parent ab73c40bfe
commit ba1626a5b9
1 changed files with 2 additions and 1 deletions

View File

@ -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
} }