From aacfce58acfb4bcf7f1f6f708fc0f44282588340 Mon Sep 17 00:00:00 2001 From: Manol Donev Date: Wed, 23 Oct 2019 10:32:57 +0300 Subject: [PATCH] refactor: deprecated goBack() usage (#8002) --- nativescript-core/ui/frame/frame.android.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nativescript-core/ui/frame/frame.android.ts b/nativescript-core/ui/frame/frame.android.ts index f8270d93b..096adb628 100644 --- a/nativescript-core/ui/frame/frame.android.ts +++ b/nativescript-core/ui/frame/frame.android.ts @@ -9,7 +9,7 @@ import { Page } from "../page"; import * as application from "../../application"; import { - _stack, FrameBase, goBack, NavigationType, Observable, + _stack, FrameBase, NavigationType, Observable, traceCategories, traceEnabled, traceError, traceWrite, View } from "./frame-common"; @@ -1189,7 +1189,7 @@ class ActivityCallbacksImplementation implements AndroidActivityCallbacks { const view = this._rootView; let callSuper = false; if (view instanceof Frame) { - callSuper = !goBack(); + callSuper = !FrameBase.goBack(); } else { const viewArgs = { eventName: "activityBackPressed",