attendi-android v0.3.5
Fixed
- Composable Preview crashes when previewing certain UI components:
- VerifyAudioPermissionView
- AudioPermissionDeniedPermanentlyDialog (from AttendiMicrophone)
The crashes were caused by casting LocalContext.current directly to Activity:
val activity = context as ActivityIn Android Studio previews, LocalContext.current returns a BridgeContext instead of an actual Activity.
The fix uses a safe cast (as? Activity) and handles the null case, making previews render safely without affecting runtime behavior.
Full Changelog: v0.3.4...v0.3.5