mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 13:51:27 +08:00
fix(tab-view): remove onBackPressed override (#6755)
This commit is contained in:

committed by
GitHub

parent
1ae0cfd4b3
commit
984f162c1c
@ -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