Add button in dearrow prompt to quickly disable future prompts

This commit is contained in:
Ajay
2023-11-27 00:36:16 -05:00
parent 3ae0429043
commit 2c67db44a0
2 changed files with 2 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ export async function tryShowingDeArrowPromotion() {
window.open("https://dearrow.ajay.app"); window.open("https://dearrow.ajay.app");
Config.config.shownDeArrowPromotion = true; Config.config.shownDeArrowPromotion = true;
}, },
secondButtonText: chrome.i18n.getMessage("hideNewFeatureUpdates"),
referenceNode: element, referenceNode: element,
prependElement: element.firstElementChild as HTMLElement, prependElement: element.firstElementChild as HTMLElement,
timeout: 15000, timeout: 15000,