mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-22 19:25:16 +00:00
fix: merge error
This commit is contained in:
parent
7322d830b5
commit
5227bfd14c
1 changed files with 1 additions and 14 deletions
|
@ -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
|
||||
);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue