Skip to content

Commit

Permalink
chore: update image picker presentation style
Browse files Browse the repository at this point in the history
  • Loading branch information
bang9 committed Sep 19, 2022
1 parent da576a6 commit 41ca4c8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const createNativeFileService = ({
}

const response = await imagePickerModule.launchCamera({
presentationStyle: 'fullScreen',
cameraType: options?.cameraType ?? 'back',
mediaType: (() => {
switch (options?.mediaType) {
Expand Down Expand Up @@ -134,6 +135,7 @@ const createNativeFileService = ({
}

const response = await imagePickerModule.launchImageLibrary({
presentationStyle: 'fullScreen',
selectionLimit,
mediaType: (() => {
switch (options?.mediaType) {
Expand Down

0 comments on commit 41ca4c8

Please sign in to comment.