mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Support Qt 6.5 dark mode API
This commit is contained in:
@@ -1533,7 +1533,7 @@ void SetupCloudThemes(
|
||||
void SetupAutoNightMode(
|
||||
not_null<Window::SessionController*> controller,
|
||||
not_null<Ui::VerticalLayout*> container) {
|
||||
if (!Platform::IsDarkModeSupported()) {
|
||||
if (!Core::App().settings().systemDarkMode().has_value()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user