From 22b1120228985a1e4aa8253cafd5c063bf4b797e Mon Sep 17 00:00:00 2001 From: r-zakarya <82443831+r-zakarya@users.noreply.github.com> Date: Thu, 17 Sep 2026 19:05:51 +0100 Subject: [PATCH] fix(apk): la camera s'affiche des le premier scan apres l'autorisation Co-Authored-By: Claude Opus 5 --- mainApk.pas | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mainApk.pas b/mainApk.pas index 1d139be..0b19178 100644 --- a/mainApk.pas +++ b/mainApk.pas @@ -2949,8 +2949,14 @@ begin // garde son etat, elle n'a ete que masquee. Touch; end; - FLayWeb.Visible := True; - FWeb.Visible := True; + // SAUF PENDANT UN SCAN : la fenetre d'autorisation de la camera fait + // passer l'app par ici APRES que le scan a demarre, et la page revenait + // par-dessus l'apercu - camera ouverte mais invisible au premier essai. + if not FScanning then + begin + FLayWeb.Visible := True; + FWeb.Visible := True; + end; FBackgroundAt := 0; end; end;