From 76d4ee55bb880cafe6fb20c31a4a0b92fbcc9029 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 422fc76e6..6374792ab 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 {