mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
rename<FileHistories>: rename Views.Histories to Views.FileHistories
This commit is contained in:
parent
1ad5ff1bd8
commit
2b9d07479d
8 changed files with 12 additions and 12 deletions
|
@ -5,7 +5,7 @@ using System.Text.Json.Serialization;
|
|||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
#if NET6_0
|
||||
using System.Net.Http;
|
||||
#else
|
||||
using System.Net;
|
||||
|
@ -50,7 +50,7 @@ namespace SourceGit.Models {
|
|||
Preference.Instance.General.LastCheckDay = curDayOfYear;
|
||||
Task.Run(async () => {
|
||||
try {
|
||||
#if NET6_0_OR_GREATER
|
||||
#if NET6_0
|
||||
var req = new HttpClient();
|
||||
var rsp = await req.GetAsync("https://api.github.com/repos/sourcegit-scm/sourcegit/releases/latest");
|
||||
rsp.EnsureSuccessStatusCode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue