I wrote this on my code
If (Device.isUsingDarkAppearance()){
//is dark code
}else{
//is light code
}
It works in the app but not on homescreen widget
How??
I wrote this on my code
If (Device.isUsingDarkAppearance()){
//is dark code
}else{
//is light code
}
It works in the app but not on homescreen widget
How??
A short search gave me this thread with an answer at the bottom:
Hope it helps!
Thanks but still not working