0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-22 19:25:16 +00:00

sponsor skip toast

This commit is contained in:
Sushi 2022-06-01 15:12:00 -06:00
parent 080f085c52
commit 85018056e3
2 changed files with 4 additions and 0 deletions

View file

@ -70,6 +70,7 @@ export default {
vidTime <= sponsor.segment[1]
) {
console.log("Skipping the sponsor");
this.$youtube.showToast("Skipped sponsor")
vid.currentTime = sponsor.segment[1] + 1;
}
});

View file

@ -78,6 +78,9 @@ const searchModule = {
logger("codeRun", err, true);
callback(err);
});
},
showToast(text) {
Toast.show({ text: text });
}
};