Skip to content

Commit 25e9c78

Browse files
committed
Hide internal util methods
1 parent c4d05e1 commit 25e9c78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stream-chat-android-ai-compose/src/main/kotlin/io/getstream/chat/android/ai/compose/ui/component/internal/PhotoPicker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import androidx.compose.runtime.Composable
3535
* [ManagedActivityResultLauncher.launch] with a [PickVisualMediaRequest].
3636
*/
3737
@Composable
38-
public fun rememberPhotoPickerLauncher(onResult: (List<Uri>) -> Unit): ManagedActivityResultLauncher<PickVisualMediaRequest, List<@JvmSuppressWildcards Uri>> =
38+
internal fun rememberPhotoPickerLauncher(onResult: (List<Uri>) -> Unit): ManagedActivityResultLauncher<PickVisualMediaRequest, List<@JvmSuppressWildcards Uri>> =
3939
rememberLauncherForActivityResult(ActivityResultContracts.PickMultipleVisualMedia()) { uris ->
4040
onResult(uris)
4141
}

stream-chat-android-ai-compose/src/main/kotlin/io/getstream/chat/android/ai/compose/ui/component/internal/SelectedAttachmentList.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ import kotlinx.coroutines.withContext
6565
* @param modifier Optional [Modifier] for customizing the layout of the list.
6666
*/
6767
@Composable
68-
public fun SelectedAttachmentList(
68+
internal fun SelectedAttachmentList(
6969
uris: List<Uri>,
7070
onRemoveAttachment: (Uri) -> Unit,
7171
modifier: Modifier = Modifier,

0 commit comments

Comments
 (0)