0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-19 01:35:14 +00:00

fix: merge error

This commit is contained in:
Alex 2022-05-02 17:16:46 +12:00
parent 7322d830b5
commit 5227bfd14c

View file

@ -263,20 +263,7 @@ export default {
this.$vuetube.resetBackActions(); this.$vuetube.resetBackActions();
this.backHandler = CapacitorApp.addListener( this.backHandler = CapacitorApp.addListener(
"backButton", "backButton",
({ canGoBack }) => { this.$vuetube.back
//--- First, handle anything that needs to be dismissed first ---//
if (this.showComments) {
this.showComments = false;
//--- Back Goes Back ---//
} else if (!canGoBack) {
this.$router.replace(
`/${localStorage.getItem("startPage") || "home"}`
);
} else {
window.history.back();
}
}
); );
}, },