style: formatting and whitespaces (#7840)

This commit is contained in:
Vasil Chimev
2019-09-19 15:40:31 +03:00
committed by Manol Donev
parent 3b5785146f
commit dfcbe6c319
812 changed files with 4021 additions and 3741 deletions

View File

@@ -163,7 +163,7 @@ export class ImageSource implements ImageSourceDefinition {
const textBounds = new android.graphics.Rect();
paint.getTextBounds(source, 0, source.length, textBounds);
const textWidth = textBounds.width();
const textHeight = textBounds.height();
if (textWidth > 0 && textHeight > 0) {
@@ -319,4 +319,4 @@ export function fromFileOrResource(path: string): ImageSource {
}
return fromFile(path);
}
}