Skip to content

Commit

Permalink
make codacy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
CorruptComputer committed Dec 25, 2023
1 parent 6b846bb commit b976ecf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions UnitystationLauncher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private static AppBuilder BuildAvaloniaApp()
// Windows Specific
.With(new Win32PlatformOptions
{
RenderingMode = new List<Win32RenderingMode>()
RenderingMode = new List<Win32RenderingMode>
{
Win32RenderingMode.Wgl
}
Expand All @@ -23,7 +23,7 @@ private static AppBuilder BuildAvaloniaApp()
// and MacOSPlatformOptions is "OSX front-end options", no idea why they decided to do it that way.
.With(new AvaloniaNativePlatformOptions
{
RenderingMode = new List<AvaloniaNativeRenderingMode>()
RenderingMode = new List<AvaloniaNativeRenderingMode>
{
AvaloniaNativeRenderingMode.OpenGl
}
Expand All @@ -36,7 +36,7 @@ private static AppBuilder BuildAvaloniaApp()
// Linux Specific
.With(new X11PlatformOptions
{
RenderingMode = new List<X11RenderingMode>()
RenderingMode = new List<X11RenderingMode>
{
X11RenderingMode.Egl
}
Expand Down
2 changes: 1 addition & 1 deletion UnitystationLauncher/Views/PreferencesPanelView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private async Task ChangeInstallationFolder()
&& TopLevel.GetTopLevel(this) is TopLevel topLevel)
{
// Start async operation to open the dialog.
IReadOnlyList<IStorageFolder> selectedFolder = await topLevel.StorageProvider.OpenFolderPickerAsync(new FolderPickerOpenOptions()
IReadOnlyList<IStorageFolder> selectedFolder = await topLevel.StorageProvider.OpenFolderPickerAsync(new()
{
Title = "Select Folder",
AllowMultiple = false,
Expand Down

0 comments on commit b976ecf

Please sign in to comment.