mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #6796 from NativeScript/addidtional-commit-to-release-5.1.2
fix(tab-view): remove onBackPressed override (#6755)
This commit is contained in:
@@ -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