QR code rotation

This commit is contained in:
Fedor Indutny 2025-01-14 12:14:32 -08:00 committed by GitHub
parent f4e5b8c80e
commit ba80d310d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 579 additions and 404 deletions

View file

@ -128,6 +128,17 @@ export function SimulatedLoading(): JSX.Element {
return <Simulation finalResult={LOADED_URL} />;
}
export function SimulatedMaxRotationsError(): JSX.Element {
return (
<Simulation
finalResult={{
loadingState: LoadingState.LoadFailed,
error: InstallScreenQRCodeError.MaxRotations,
}}
/>
);
}
export function SimulatedUnknownError(): JSX.Element {
return (
<Simulation