[SDK][SFOS3] Theme.style returns undefined [answered]
So I've just installed the new SFOS3 SDK, now in the theme documentation there is a new value Theme.style
"style : bool Defined by the currently active Sailfish ambience. In the light style mode the platform text and icons are painted in dark color on light background compared to the dark style with normal light content on top of the dark background."
Now when I try this it just returns undefined every single time, regardless of dark or light ambience, it's been run on the SFOS 3 emulator and SFOS3 API's.
Anyone else ran into this issue?
Using Theme.colorScheme. Theme.colorScheme has value of 0 for dark ambience and has value of 1 for light ambience.
zuyev ( 2018-11-20 23:35:27 +0200 )editFunnily enough I spoke to a dev earlier today who had a similar suggestion, it's a working fix until someone at Jolla can look into this.
Thank you though :)
Allstar12345 ( 2018-11-21 00:05:27 +0200 )edit