Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed Jul 11, 2024
1 parent c6f17ae commit 256e202
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/Starward.Core/GameRecord/GameRecordJsonContext.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Starward.Core.GameRecord.Genshin.SpiralAbyss;
using Starward.Core.GameRecord.Genshin.TravelersDiary;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.ForgottenHall;
using Starward.Core.GameRecord.StarRail.PureFiction;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.SimulatedUniverse;
using Starward.Core.GameRecord.StarRail.TrailblazeCalendar;
using System.Text.Json.Serialization;
Expand Down
2 changes: 1 addition & 1 deletion src/Starward.Core/GameRecord/HoyolabClient.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Starward.Core.GameRecord.Genshin.SpiralAbyss;
using Starward.Core.GameRecord.Genshin.TravelersDiary;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.ForgottenHall;
using Starward.Core.GameRecord.StarRail.PureFiction;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.SimulatedUniverse;
using Starward.Core.GameRecord.StarRail.TrailblazeCalendar;

Expand Down
2 changes: 1 addition & 1 deletion src/Starward.Core/GameRecord/HyperionClient.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Starward.Core.GameRecord.Genshin.SpiralAbyss;
using Starward.Core.GameRecord.Genshin.TravelersDiary;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.ForgottenHall;
using Starward.Core.GameRecord.StarRail.PureFiction;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.SimulatedUniverse;
using Starward.Core.GameRecord.StarRail.TrailblazeCalendar;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Starward.Core.GameRecord.StarRail.ForgottenHall;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace Starward.Core.GameRecord.StarRail.ApocalypticShadow;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ApocalypticShadowFloorDetail

[JsonPropertyName("is_fast")]
public bool IsFast { get; set; }

[JsonPropertyName("last_update_time")]
[JsonConverter(typeof(ForgottenHallTimeJsonConverter))]
public DateTime LastUpdateTime { get; set; }
Expand Down
1 change: 0 additions & 1 deletion src/Starward/MyWindows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Starward.Models;
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
Expand Down
2 changes: 0 additions & 2 deletions src/Starward/MyWindows/UpdateContentWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.Extensions.Logging;
using Microsoft.UI;
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Media;
Expand All @@ -14,7 +13,6 @@
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Vanara.PInvoke;
using Windows.Graphics;
using Windows.System;

Expand Down
1 change: 0 additions & 1 deletion src/Starward/MyWindows/WelcomeWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Starward.Pages.Welcome;
using Starward.Services;
using System;
using System.IO;
using Vanara.PInvoke;
using Windows.Graphics;

Expand Down
2 changes: 1 addition & 1 deletion src/Starward/Services/GameRecordService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
using Starward.Core.GameRecord;
using Starward.Core.GameRecord.Genshin.SpiralAbyss;
using Starward.Core.GameRecord.Genshin.TravelersDiary;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.ForgottenHall;
using Starward.Core.GameRecord.StarRail.PureFiction;
using Starward.Core.GameRecord.StarRail.ApocalypticShadow;
using Starward.Core.GameRecord.StarRail.SimulatedUniverse;
using Starward.Core.GameRecord.StarRail.TrailblazeCalendar;
using System;
Expand Down

0 comments on commit 256e202

Please sign in to comment.