mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-06-07 05:57:41 +00:00
fix issue
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
a9f9741d42
commit
6005ae4c29
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
// Variables used by Scriptable.
|
// Variables used by Scriptable.
|
||||||
// These must be at the very top of the file. Do not edit.
|
// These must be at the very top of the file. Do not edit.
|
||||||
// icon-color: orange; icon-glyph: hourglass-half;
|
// icon-color: orange; icon-glyph: hourglass-half;
|
||||||
// Version 1.2.0
|
// Version 1.2.1
|
||||||
|
|
||||||
let dateForCountdown = ''
|
let dateForCountdown = ''
|
||||||
let icon = ''
|
let icon = ''
|
||||||
|
@ -97,7 +97,7 @@ daysText.minimumScaleFactor = 0.5;
|
||||||
|
|
||||||
textStack.addSpacer(5)
|
textStack.addSpacer(5)
|
||||||
|
|
||||||
const languageCode = Device.language().match(/^[\a-z]{2}/)
|
const languageCode = Device.preferredLanguages()[0].match(/^[\a-z]{2}/)
|
||||||
const t = (localeText[languageCode]) ? localeText[languageCode] : localeText.default
|
const t = (localeText[languageCode]) ? localeText[languageCode] : localeText.default
|
||||||
let postfixText;
|
let postfixText;
|
||||||
if (remainingDays === 1) {
|
if (remainingDays === 1) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue