Commit 6107630a authored by hl's avatar hl

update

parent 9b9de9b0
......@@ -4,7 +4,7 @@ import { NativeModules, Platform, NativeEventEmitter } from 'react-native';
const { RNGeekImageEditor, ReactNativeSending } = NativeModules;
const { edit: _edit } = RNGeekImageEditor
// const { edit } = RNGeekImageEditor
function edit(json, callback) {
if (Platform.OS === 'android') {
......@@ -23,9 +23,9 @@ function edit(json, callback) {
console.log(err)
}
});
_edit(json)
RNGeekImageEditor.edit(json)
} else {
_edit(json, callback)
// _edit(json, callback)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment