Skip to content

Commit

Permalink
chore: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
yuto-trd committed Sep 5, 2024
1 parent 4fa74d9 commit 80cccd5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Beutl/Pages/OutputDialog.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Avalonia.Interactivity;

using Beutl.Services;
using Beutl.ViewModels;
using Beutl.ViewModels.Dialogs;
Expand All @@ -25,7 +24,7 @@ public OutputDialog()
}
else if (OperatingSystem.IsMacOS())
{
Padding=new Thickness(0, 22, 0, 0);
Padding = new Thickness(0, 22, 0, 0);
ExtendClientAreaToDecorationsHint = true;
ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.PreferSystemChrome;
}
Expand Down Expand Up @@ -59,10 +58,7 @@ private async void OnAddClick(object? sender, RoutedEventArgs e)
if (DataContext is OutputPageViewModel viewModel)
{
var dialogViewModel = new AddOutputQueueViewModel();
var dialog = new AddOutputQueueDialog
{
DataContext = dialogViewModel
};
var dialog = new AddOutputQueueDialog { DataContext = dialogViewModel };

await dialog.ShowAsync();
dialogViewModel.Dispose();
Expand Down

0 comments on commit 80cccd5

Please sign in to comment.