kaizen-app/app
Bruno Deanoz 27deaca2e4 fix locked chat not opening — context cast + biometric fallback
Two issues prevented locked chats from opening:

1. context as? FragmentActivity silently returned null on some
   devices where LocalContext.current is a ContextWrapper. Fix:
   walk the ContextWrapper chain to find the FragmentActivity.

2. No fallback when biometrics unavailable — the chat just stayed
   locked with no feedback. Fix: if biometrics not available (no
   fingerprint enrolled, no hardware), skip biometric prompt and
   unlock directly via server token. Biometric is still enforced
   when available.

Extracted unlockAndOpen() to avoid duplicating the server unlock
+ message loading logic across biometric/fallback paths.
2026-06-22 01:10:57 +02:00
..
src fix locked chat not opening — context cast + biometric fallback 2026-06-22 01:10:57 +02:00
.gitignore Initial commit - Kaizen App 2026-06-18 15:08:09 +02:00
build.gradle.kts biometric unlock for locked conversations 2026-06-21 23:56:57 +02:00
proguard-rules.pro Initial commit - Kaizen App 2026-06-18 15:08:09 +02:00