Browse Source

fixes(Dialogs): Warning CS0642 Possible mistaken empty statement

pull/6500/head
Giuseppe Lippolis 5 years ago
parent
commit
59ebe6e0c8
  1. 4
      src/Avalonia.Dialogs/AboutAvaloniaDialog.xaml.cs

4
src/Avalonia.Dialogs/AboutAvaloniaDialog.xaml.cs

@ -30,13 +30,13 @@ namespace Avalonia.Dialogs
} }
else else
{ {
using (Process process = Process.Start(new ProcessStartInfo using Process process = Process.Start(new ProcessStartInfo
{ {
FileName = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? url : "open", FileName = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? url : "open",
Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"{url}" : "", Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"{url}" : "",
CreateNoWindow = true, CreateNoWindow = true,
UseShellExecute = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) UseShellExecute = RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
})); });
} }
} }

Loading…
Cancel
Save