Detect more dark themes on Linux
This commit is contained in:
parent
f88c132c96
commit
cffb05e3c9
|
@ -835,7 +835,7 @@ std::optional<bool> IsDarkMode() {
|
|||
|
||||
const auto themeName = Libs::GtkSetting("gtk-theme-name").toLower();
|
||||
|
||||
if (themeName.endsWith(qsl("-dark"))) {
|
||||
if (themeName.contains(qsl("-dark"))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue