Describe the bug
Dark mode not being enabled
To Reproduce
Steps to reproduce the behavior:
- open app and see white mode
Expected behavior
should set dark mode
Screenshots
If applicable, add screenshots to help explain your problem.
Version and platform:
- OS: [ArcoLinux rolling]
- Syncplay version and build type: [ Syncplay 1.6.9 AppImage]
- Media player and version: [e.g. VLC 3.0.16 32-bit]
Additional context
I think its being caused bu this line
|
if theme.endswith('-dark'): |
it detects dark mode by running this
|
['gsettings', 'get', 'org.gnome.desktop.interface', 'gtk-theme'], |
which return theme name
so i tried running it
>> gsettings get org.gnome.desktop.interface gtk-theme
<< 'Arc-Dark'
It is failing because .endwith() is case sensitive, .upper() or .lower() should get called before it
i don't know how to run or build from source so i can't check it
Describe the bug
Dark mode not being enabled
To Reproduce
Steps to reproduce the behavior:
Expected behavior
should set dark mode
Screenshots
If applicable, add screenshots to help explain your problem.
Version and platform:
Additional context
I think its being caused bu this line
syncplay/syncplay/vendor/darkdetect/_linux_detect.py
Line 21 in e9f506f
it detects dark mode by running this
syncplay/syncplay/vendor/darkdetect/_linux_detect.py
Line 14 in e9f506f
which return theme name
so i tried running it
It is failing because
.endwith()is case sensitive,.upper()or.lower()should get called before iti don't know how to run or build from source so i can't check it