Skip to content

Commit

Permalink
modify rnoh package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis-C7 committed Apr 10, 2024
1 parent 42793d2 commit c1bb9f2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Binary file modified harmony/image_picker.har
Binary file not shown.
4 changes: 2 additions & 2 deletions harmony/image_picker/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"name": "@react-native-oh-tpl/react-native-image-picker",
"description": "Please describe the basic information.",
"main": "ts.ts",
"version": "7.0.3-0.0.9",
"version": "7.0.3-0.1.0",
"dependencies": {
"rnoh": "file:../rnoh"
"@rnoh/react-native-openharmony": "file:../rnoh"
}
}
4 changes: 2 additions & 2 deletions harmony/image_picker/src/main/ets/ImagePickerPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* SOFTWARE.
*/

import { RNPackage, TurboModulesFactory } from 'rnoh/ts';
import type { TurboModule, TurboModuleContext } from 'rnoh/ts';
import { RNPackage, TurboModulesFactory } from '@rnoh/react-native-openharmony/ts';
import type { TurboModule, TurboModuleContext } from '@rnoh/react-native-openharmony/ts';
import { ImagePickerTurboModule } from './ImagePickerTurboModule';

class ImagePickerTurboModulesFactory extends TurboModulesFactory {
Expand Down
4 changes: 2 additions & 2 deletions harmony/image_picker/src/main/ets/ImagePickerTurboModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import fs from '@ohos.file.fs';
import image from '@ohos.multimedia.image';
import wantConstant from '@ohos.app.ability.wantConstant';
import util from '@ohos.util';
import { TurboModule } from 'rnoh/ts';
import type { TurboModuleContext } from 'rnoh/ts';
import { TurboModule } from '@rnoh/react-native-openharmony/ts';
import type { TurboModuleContext } from '@rnoh/react-native-openharmony/ts';
import type Want from '@ohos.app.ability.Want';
import Logger from './Logger'

Expand Down

0 comments on commit c1bb9f2

Please sign in to comment.