diff --git a/src/settings/settings.cpp b/src/settings/settings.cpp index 4bd5e6a..6177c82 100644 --- a/src/settings/settings.cpp +++ b/src/settings/settings.cpp @@ -178,7 +178,7 @@ void GlobalSetting::initGlobalSettings() void GlobalSetting::initUSDSetting() { - m_cache.insert(IsLiteMode, true); + m_cache.insert(IsLiteMode, false); const QString service = QStringLiteral("org.ukui.SettingsDaemon"); const QString path = QStringLiteral("/GlobalSignal"); @@ -200,7 +200,7 @@ void GlobalSetting::initUSDSetting() void GlobalSetting::onSysModeChanged(QMap map) { if (map.contains("animation")) { - m_cache.insert(IsLiteMode, (map.value("animation").toString() == "off")); + m_cache.insert(IsLiteMode, (map.value("animation").toString() == QStringLiteral("lite"))); Q_EMIT styleChanged(IsLiteMode); } }