0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-22 11:15: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.backHandler = CapacitorApp.addListener(
"backButton",
({ canGoBack }) => {
//--- 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();
}
}
this.$vuetube.back
);
},