From 2c67db44a016c8792f3f5e6cfe3a4b31d528ccb3 Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 27 Nov 2023 00:36:16 -0500 Subject: Add button in dearrow prompt to quickly disable future prompts --- maze-utils | 2 +- src/dearrowPromotion.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/maze-utils b/maze-utils index 6bdc9402..2aa3c0bc 160000 --- a/maze-utils +++ b/maze-utils @@ -1 +1 @@ -Subproject commit 6bdc9402c6cf2a8c97e53e1c360744e12afd919f +Subproject commit 2aa3c0bc23c2100ef7eb4963aa116e4182a7f162 diff --git a/src/dearrowPromotion.ts b/src/dearrowPromotion.ts index 208c627f..13fa8288 100644 --- a/src/dearrowPromotion.ts +++ b/src/dearrowPromotion.ts @@ -37,6 +37,7 @@ export async function tryShowingDeArrowPromotion() { window.open("https://dearrow.ajay.app"); Config.config.shownDeArrowPromotion = true; }, + secondButtonText: chrome.i18n.getMessage("hideNewFeatureUpdates"), referenceNode: element, prependElement: element.firstElementChild as HTMLElement, timeout: 15000, -- cgit v1.2.3