remove using

This commit is contained in:
Lightczx
2023-11-16 09:24:35 +08:00
parent ea2000b03d
commit 8e841b1295
7 changed files with 0 additions and 10 deletions

View File

@@ -2,7 +2,6 @@
// Licensed under the MIT license.
using System.Collections.Frozen;
using System.Collections.Immutable;
namespace Snap.Hutao.Model.InterChange.Inventory;

View File

@@ -3,7 +3,6 @@
using Snap.Hutao.Web.Hoyolab.Hk4e.Event.GachaInfo;
using System.Collections.Frozen;
using System.Collections.Immutable;
namespace Snap.Hutao.Service.GachaLog;

View File

@@ -9,7 +9,6 @@ using Snap.Hutao.Core.ExceptionService;
using Snap.Hutao.Core.IO.Hashing;
using Snap.Hutao.Core.Setting;
using Snap.Hutao.Service.Notification;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.Http;

View File

@@ -23,7 +23,6 @@ namespace Snap.Hutao.Web.Bridge;
/// </summary>
[HighQuality]
[SuppressMessage("", "CA1001")]
[SuppressMessage("", "CA1308")]
internal class MiHoYoJSBridge
{
private const string InitializeJsInterfaceScript2 = """
@@ -492,8 +491,6 @@ internal class MiHoYoJSBridge
ReadOnlySpan<char> uriHostSpan = uriHost.AsSpan();
if (uriHostSpan.EndsWith("mihoyo.com") || uriHostSpan.EndsWith("hoyolab.com"))
{
// Execute this solve issue: When open same site second time,there might be no bridge init.
// coreWebView2.AddScriptToExecuteOnDocumentCreatedAsync(InitializeJsInterfaceScript2).AsTask().SafeForget(logger);
coreWebView2.ExecuteScriptAsync(InitializeJsInterfaceScript2).AsTask().SafeForget(logger);
}
}

View File

@@ -2,8 +2,6 @@
// Licensed under the MIT license.
using Snap.Hutao.Web.Request.Builder;
using System.Net.Http;
using System.Text;
namespace Snap.Hutao.Web.Hoyolab.DataSigning;

View File

@@ -3,7 +3,6 @@
using Snap.Hutao.Web.Request.Builder;
using System.Net.Http;
using System.Text;
namespace Snap.Hutao.Web.Hoyolab.DataSigning;

View File

@@ -2,7 +2,6 @@
// Licensed under the MIT license.
using System.Collections.Frozen;
using System.Collections.Immutable;
namespace Snap.Hutao.Web.Hoyolab.Takumi.GameRecord.DailyNote;