Open fortuna opened 9 months ago
Can you please verify the colour values that function returns inside your code? It is more likely relating to the UI not refreshing when the theme type is discovered than that the Theme code is randomly returning the wrong variant for a single type on a single platform.
Checklist
Describe the bug
On Android, the
theme.ColorNameHeaderBackground
is getting the color for the dark variant instead of light, even if the theme is set to light.It works fine on macOS:
But on Android I get the color for the dark variant, but only for the header background:
How to reproduce
Run from desktop:
To run for Android:
Make sure your
ANDROID_NDK_HOME
is set and thatadb
is in thePATH
.Screenshots
No response
Example code
See https://github.com/Jigsaw-Code/outline-sdk/blob/main/x/examples/fyne-tools/main.go
Relevant code:
Fyne version
2.4.3
Go compiler version
1.20.4
Operating system and version
macOS Sonoma 14.2.1 arm64
Additional Information
No response