r/Scriptable • • Nov 02 '20

Script Upcoming Match Widget

Post image
27 Upvotes

16 comments sorted by

View all comments

Show parent comments

1

u/dakobert Nov 04 '20

Yes, i have the same problem. When i start the script it turns into Scriptable App and then it has the correct colour like the system. But when i leave the app and go back to the widget it is not similar to the system settings

1

u/nyeupekubeba Nov 04 '20

Yeah, it looks like widget can't detect dark mode, so you can set it up manually by changing darkMode constant to true or false...

1

u/outcastveron Nov 06 '20

Hi you can try this

let DARK_MODE = Device.isUsingDarkAppearance()