fix: merge error

This commit is contained in:
Alex 2022-05-02 17:16:46 +12:00
parent 7322d830b5
commit 5227bfd14c
1 changed files with 1 additions and 14 deletions

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
);
},