android: compat webviewexecutor to support arraybuffer
This commit is contained in:
		| @@ -50,12 +50,10 @@ export class Image extends View { | ||||
|     } | ||||
|     toModel() { | ||||
|         const ret = super.toModel(); | ||||
|         if (Environment.platform === 'iOS') { | ||||
|             if (Reflect.has(ret.props, "imagePixels")) { | ||||
|                 const imagePixels = Reflect.get(ret.props, "imagePixels"); | ||||
|                 const pixels = imagePixels.pixels; | ||||
|                 imagePixels.pixels = this.callback2Id(() => pixels); | ||||
|             } | ||||
|         if (Reflect.has(ret.props, "imagePixels")) { | ||||
|             const imagePixels = Reflect.get(ret.props, "imagePixels"); | ||||
|             const pixels = imagePixels.pixels; | ||||
|             imagePixels.pixels = this.callback2Id(() => pixels); | ||||
|         } | ||||
|         return ret; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user