mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-22 19:25:16 +00:00
sponsor skip toast
This commit is contained in:
parent
080f085c52
commit
85018056e3
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -78,6 +78,9 @@ const searchModule = {
|
|||
logger("codeRun", err, true);
|
||||
callback(err);
|
||||
});
|
||||
},
|
||||
showToast(text) {
|
||||
Toast.show({ text: text });
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue