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