Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NotroDev committed Jul 10, 2024
1 parent 712662e commit 0e39392
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion SkEditor/API/Utilities/ILogs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public interface ILogs
/// <param name="exception">The exception to log.</param>
public void Fatal(Exception exception);


/// <summary>
/// Sends an error message related to an addon to the log. Optionally informs the user.
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion SkEditor/Controls/MainMenuControl.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
using SkEditor.Views.Generators;
using SkEditor.Views.Generators.Gui;
using SkEditor.Views.Settings;
using System;

namespace SkEditor.Controls;
public partial class MainMenuControl : UserControl
Expand Down
5 changes: 1 addition & 4 deletions SkEditor/Utilities/ChangelogChecker.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using Avalonia.Controls;
using Avalonia.Threading;
using FluentAvalonia.UI.Controls;
using FluentAvalonia.UI.Controls;
using SkEditor.API;
using System.Reflection;

namespace SkEditor.Utilities;
public static class ChangelogChecker
Expand Down
3 changes: 1 addition & 2 deletions SkEditor/Utilities/CrashChecker.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Serilog;
using SkEditor.API;
using SkEditor.API;
using SkEditor.Views;
using System;
using System.IO;
Expand Down
2 changes: 0 additions & 2 deletions SkEditor/Utilities/Editor/TextEditorEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
using AvaloniaEdit.Highlighting;
using SkEditor.API;
using SkEditor.Utilities.Files;
using SkEditor.ViewModels;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
Expand Down
2 changes: 1 addition & 1 deletion SkEditor/Utilities/Files/FileHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static async void SaveAsFile()
await SkEditorAPI.Files.Save(SkEditorAPI.Files.GetCurrentOpenedFile(), true);
}

public static void SaveAllFiles() =>
public static void SaveAllFiles() =>
SkEditorAPI.Files.GetOpenedEditors().ForEach(async file => await SkEditorAPI.Files.Save(file, false));

public static void SwitchTab(int index)
Expand Down
1 change: 0 additions & 1 deletion SkEditor/Utilities/Files/Icon.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Avalonia;
using FluentAvalonia.UI.Controls;
using SkEditor.API;
using System.Collections.Generic;
using System.IO;

Expand Down
1 change: 0 additions & 1 deletion SkEditor/Utilities/InternalAPI/Classes/Windows.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using SkEditor.Utilities;
using SkEditor.Views;
using System;
using System.Linq;
using System.Threading.Tasks;

namespace SkEditor.API;
Expand Down
1 change: 0 additions & 1 deletion SkEditor/Views/Settings/AboutPage.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using CommunityToolkit.Mvvm.Input;
using SkEditor.API;
using SkEditor.Utilities;
using SkEditor.ViewModels;

namespace SkEditor.Views.Settings;
public partial class AboutPage : UserControl
Expand Down

0 comments on commit 0e39392

Please sign in to comment.