mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
Fix calls :S
This commit is contained in:
@ -87,7 +87,7 @@ export class ImageSource implements definition.ImageSource {
|
||||
return false;
|
||||
}
|
||||
|
||||
var targetFormat = getTargetFromat(format);
|
||||
var targetFormat = getTargetFormat(format);
|
||||
|
||||
// TODO add exception handling
|
||||
var outputStream = new java.io.BufferedOutputStream(new java.io.FileOutputStream(path));
|
||||
@ -102,7 +102,7 @@ export class ImageSource implements definition.ImageSource {
|
||||
return null;;
|
||||
}
|
||||
|
||||
var targetFormat = getTargetFromat(format);
|
||||
var targetFormat = getTargetFormat(format);
|
||||
|
||||
var outputStream = new java.io.ByteArrayOutputStream();
|
||||
var base64Stream = new android.util.Base64OutputStream(outputStream, android.util.Base64.NO_WRAP);
|
||||
|
Reference in New Issue
Block a user