[Installer]Don't enable pdf preview by default (#17274)

* [Installer]Don't enable pdf preview by default

* Change settings UI when there's no settings as well

* clear analyzer errors
This commit is contained in:
Jaime Bernardo
2022-03-25 21:01:09 +00:00
committed by GitHub
parent bdbf0b8c14
commit ba73bc7d50
3 changed files with 15 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
}
}
private bool enablePdfPreview = true;
private bool enablePdfPreview;
[JsonPropertyName("pdf-previewer-toggle-setting")]
[JsonConverter(typeof(BoolPropertyJsonConverter))]
@@ -114,7 +114,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
}
}
private bool enablePdfThumbnail = true;
private bool enablePdfThumbnail;
[JsonPropertyName("pdf-thumbnail-toggle-setting")]
[JsonConverter(typeof(BoolPropertyJsonConverter))]