From 3e0f5fe544da6025bcda89d71ce0ac7619b0af08 Mon Sep 17 00:00:00 2001 From: Paro The Parrot Date: Mon, 12 Sep 2022 08:30:49 +0200 Subject: [PATCH] Using --- Countdown/Countdown.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Countdown/Countdown.js b/Countdown/Countdown.js index dbcb60f..65036c9 100644 --- a/Countdown/Countdown.js +++ b/Countdown/Countdown.js @@ -17,6 +17,7 @@ if (widgetInputRAW !== null) { } dateForCountdown = widgetInput[0].trim() icon = widgetInput[1] || '⏳'; + text = widgetInput[3]; // new if (widgetInput[2] && widgetInput[2].toLowerCase() === 'true') { showDate = true } @@ -69,7 +70,7 @@ gradient.colors = [ widget.backgroundGradient = gradient -let provider = widget.addText(icon + " Countdown") +let provider = widget.addText(icon + " " + text) // variant provider.font = Font.mediumSystemFont(12) provider.textColor = textColor