My code
function getDayOfWeek(mDayOfWeek) {
return Ui.loadResource(
mDayOfWeek == 1
? Rez.Strings.Sun
: mDayOfWeek == 2
? Rez.Strings.Mon
: mDayOfWeek == 3
? Rez.Strings.Tue
: mDayOfWeek == 4
? Rez.Strings.Wed
: mDayOfWeek == 5
? Rez.Strings.Thu
: mDayOfWeek == 6
? Rez.Strings.Fri
: Rez.Strings.Sat
);
}
I am sure the strings exist. But a lot of errors occur.
Error Name: Invalid Value
Occurrences: 65
First Occurrence: 2023-12-29
Last Occurrence: 2023-12-30
Devices:
fēnix® 6 Pro / 6 Sapphire / 6 Pro Solar / 6 Pro Dual Power / quatix® 6: 26.00
fēnix® 6 Pro / 6 Sapphire / 6 Pro Solar / 6 Pro Dual Power / quatix® 6: 26.00
Venu® 3: 8.25
vívoactive® 5: 8.27
Descent
Forerunner® 965: 17.26
epix
Forerunner® 245: 12.10, 13.00
Forerunner® 245: 9.00
Forerunner® 245: 11.60, 13.00
Descent
Forerunner® 255 Music: 17.26, 15.19
Forerunner® 265: 17.26
Forerunner® 745: 13.00
Venu® 3S: 8.25
Forerunner® 255: 17.26
fēnix® 6X Pro / 6X Sapphire / 6X Pro Solar / tactix® Delta Sapphire / Delta Solar / Delta Solar - Ballistics Edition / quatix® 6X / 6X Solar / 6X Dual Power: 26.00
fēnix® 6X Pro / 6X Sapphire / 6X Pro Solar / tactix® Delta Sapphire / Delta Solar / Delta Solar - Ballistics Edition / quatix® 6X / 6X Solar / 6X Dual Power: 26.00
fēnix® 7X Pro: 15.77
Forerunner® 955 / Solar: 17.26
Forerunner® 745: 12.10
Forerunner® 245 Music: 13.00
fēnix® 7X / tactix® 7 / quatix® 7X Solar / Enduro
fēnix® 7 / quatix® 7: 15.77
Forerunner® 255s Music: 17.26
App Versions: 1.3
Languages: chs, cht, dut, eng, fre, jpn, kor, pol, spa, swe, tha
Backtrace:
getDayOfWeek:1535
onUpdate:489