File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/taro-platform-harmony-hybrid/src/api/apis/media Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export const chooseImage: typeof Taro.chooseImage = async (options) => {
57
57
}
58
58
59
59
return new Promise < Taro . chooseImage . SuccessCallbackResult > ( ( resolve , reject ) => {
60
- native . chooseMediaAssets ( {
60
+ native . chooseMediumAssets ( {
61
61
count : count ,
62
62
mediaType : mediaType ,
63
63
sourceType : sourceSelected ,
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export const chooseVideo: typeof Taro.chooseVideo = async (options) => {
65
65
66
66
return new Promise < Taro . chooseVideo . SuccessCallbackResult > ( ( resolve , reject ) => {
67
67
// @ts -ignore
68
- native . chooseMediaAssets ( {
68
+ native . chooseMediumAssets ( {
69
69
count : 1 ,
70
70
sizeType : sizeType ,
71
71
mediaType : mediaType ,
You can’t perform that action at this time.
0 commit comments