mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
Use dynamic version in settings
Applies to https://github.com/microsoft/PowerToys/issues/736
This commit is contained in:
committed by
Bartosz Sosnowski
parent
af127468a6
commit
633784fae2
@@ -35,6 +35,7 @@ web::json::value get_general_settings() {
|
||||
|
||||
result.as_object()[L"theme"] = json::value::string(settings_theme);
|
||||
result.as_object()[L"system_theme"] = json::value::string(WindowsColors::is_dark_mode() ? L"dark" : L"light");
|
||||
result.as_object()[L"powertoys_version"] = json::value::string(get_product_version());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user