mirror of
https://github.com/zhigang1992/react-native-chat-ui.git
synced 2026-04-29 12:45:41 +08:00
Update dependencies
This commit is contained in:
@@ -79,7 +79,7 @@ const App = () => {
|
||||
// ...
|
||||
const handleFileSelection = async () => {
|
||||
try {
|
||||
const response = await DocumentPicker.pick({
|
||||
const response = await DocumentPicker.pickSingle({
|
||||
type: [DocumentPicker.types.allFiles],
|
||||
})
|
||||
const fileMessage: MessageType.File = {
|
||||
@@ -244,7 +244,7 @@ const App = () => {
|
||||
|
||||
const handleFileSelection = async () => {
|
||||
try {
|
||||
const response = await DocumentPicker.pick({
|
||||
const response = await DocumentPicker.pickSingle({
|
||||
type: [DocumentPicker.types.allFiles],
|
||||
})
|
||||
const fileMessage: MessageType.File = {
|
||||
|
||||
Reference in New Issue
Block a user