android: fix NDK build — add Opus sources, fix Kotlin composable context, fix bridge db_path param

This commit is contained in:
evgeny committed 2026-07-28 23:20:19 +03:00
1 parent 5b6979da27
commit 0f1e6e0006
4 files changed
+18 -7

No files matched your search

@@ -34,10 +34,10 @@ fun ChatScreen(
var text by remember { mutableStateOf("") }
val listState = rememberLazyListState()
val isRecording by viewModel.isRecording.collectAsState()
val ctx = LocalContext.current
val filePicker = rememberLauncherForActivityResult(ActivityResultContracts.GetContent()) { uri ->
uri?.let {
val ctx = LocalContext.current
val path = it.path ?: return@let
viewModel.sendAttachment(path)
}