From fea47e838d3456f6b70f0aadfbb2dd05841c9a23 Mon Sep 17 00:00:00 2001 From: Martin Yankov Date: Fri, 24 Aug 2018 18:50:47 +0300 Subject: [PATCH] change the default values for android safe area --- tns-core-modules/ui/core/view/view-common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tns-core-modules/ui/core/view/view-common.ts b/tns-core-modules/ui/core/view/view-common.ts index d46ab894d..0a1f4d2e3 100644 --- a/tns-core-modules/ui/core/view/view-common.ts +++ b/tns-core-modules/ui/core/view/view-common.ts @@ -881,7 +881,7 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition { } public getSafeAreaInsets(): { left, top, right, bottom } { - return undefined; + return {left: 0, top: 0, right: 0, bottom: 0}; } public getLocationInWindow(): Point {