mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(tab-view): remove onBackPressed override (#6755)
This commit is contained in:
committed by
SvetoslavTsenov
parent
059f3902a0
commit
c43537809e
@@ -545,15 +545,6 @@ export class TabView extends TabViewBase {
|
||||
super.disposeNativeView();
|
||||
}
|
||||
|
||||
public onBackPressed(): boolean {
|
||||
const currentView = this._selectedView;
|
||||
if (currentView) {
|
||||
return currentView.onBackPressed();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public _onRootViewReset(): void {
|
||||
super._onRootViewReset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user