mirror of https://github.com/logchan/chuni-hands
regression
parent
63d3d7edc2
commit
ce95d8951f
|
@ -46,7 +46,7 @@ dotnet_style_collection_initializer = true:suggestion
|
|||
dotnet_style_explicit_tuple_names = true:suggestion
|
||||
dotnet_style_null_propagation = true:suggestion
|
||||
dotnet_style_object_initializer = true:suggestion
|
||||
dotnet_style_prefer_auto_properties = true:silent
|
||||
dotnet_style_prefer_auto_properties = true:none
|
||||
dotnet_style_prefer_compound_assignment = true:suggestion
|
||||
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
|
||||
dotnet_style_prefer_conditional_expression_over_return = true:silent
|
||||
|
|
|
@ -26,6 +26,8 @@ namespace chuni_hands {
|
|||
private readonly Config _config = new Config();
|
||||
private readonly HttpClient _http = new HttpClient();
|
||||
|
||||
public Config Config => _config;
|
||||
|
||||
public MainWindow() {
|
||||
if (File.Exists(ConfigFile)) {
|
||||
_config = Helpers.Deserialize<Config>(ConfigFile);
|
||||
|
|
Loading…
Reference in New Issue