-
Notifications
You must be signed in to change notification settings - Fork 66
filekit dialogs not working on ios with cmp 1.10+ #547
Copy link
Copy link
Open
Description
@Composable
fun rememberImagePicker(
maxItems: Int? = null,
onSuccess: (List<PlatformFile>) -> Unit
): ResultLauncher {
val picker = rememberFilePickerLauncher(
type = FileKitType.Image,
mode = FileKitMode.Multiple(maxItems),
onResult = { files ->
if (!files.isNullOrEmpty()) {
onSuccess(files)
}
}
)
return remember(picker) { ResultLauncher(picker::launch) }
}this one never starts with filekit 0.13.0 and compose 1.10+, everything is fine on filekit 0.12.0 and lower compose
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels