Skip to content

Commit

Permalink
fix: 修复IDE1006的警告
Browse files Browse the repository at this point in the history
  • Loading branch information
leven99 committed Oct 6, 2019
1 parent 15e75fe commit b53e6e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Models/HelpM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace OSDA.Models
/// </summary>
public class UpdateJsons
{
public string tag_name { get; set; }
public string Tag_name { get; set; }
}

public class HelpModel : MainWindowBase
Expand Down
4 changes: 2 additions & 2 deletions ViewModels/MainWindowVM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public async void UpdateAsync()
{
UpdateJsons = javaScriptSerializer.Deserialize<UpdateJsons>(_updateJson);

string UpdateVerInfoNumber = UpdateJsons.tag_name.TrimStart('v');
string UpdateVerInfoNumber = UpdateJsons.Tag_name.TrimStart('v');

UpdateVersionCompareTo(UpdateVerInfoNumber);
}
Expand Down Expand Up @@ -444,7 +444,7 @@ public async Task UpdatesAsync()
{
UpdateJsons = javaScriptSerializer.Deserialize<UpdateJsons>(_updateJson);

string UpdateVerInfoNumber = UpdateJsons.tag_name.TrimStart('v');
string UpdateVerInfoNumber = UpdateJsons.Tag_name.TrimStart('v');

UpdateVersionCompareTo(UpdateVerInfoNumber);
}
Expand Down

0 comments on commit b53e6e9

Please sign in to comment.