[PTRun]UI for turning on Pinyin on Settings (#24293)

* Conflict resolving Part 1

* Conflict resolving Part 2

* Conflict resolving Part 3

* Conflict resolving part 4

* fix usepinyin

* Add test and fix setting

* Fix whitespace

* Fix prefix name

* Add mention that it doesn't work for every plugin
This commit is contained in:
ChaseKnowlden
2023-09-19 10:31:33 -04:00
committed by GitHub
parent b8a83fba1b
commit cc454701b8
6 changed files with 41 additions and 0 deletions

View File

@@ -72,6 +72,9 @@ namespace Microsoft.PowerToys.Settings.UI.Library
[JsonPropertyName("search_wait_for_slow_results")]
public bool SearchWaitForSlowResults { get; set; }
[JsonPropertyName("use_pinyin")]
public bool UsePinyin { get; set; }
[JsonPropertyName("generate_thumbnails_from_files")]
public bool GenerateThumbnailsFromFiles { get; set; }
@@ -103,6 +106,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
SearchQueryTuningEnabled = false;
SearchWaitForSlowResults = false;
GenerateThumbnailsFromFiles = true;
UsePinyin = false;
}
}
}