Skip to content

Commit 695db2a

Browse files
committed
code_style: run dotnet format
Signed-off-by: leo <[email protected]>
1 parent 8d47bd5 commit 695db2a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+325
-326
lines changed

src/Commands/QueryCommitSignInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public Models.CommitSignInfo Result()
2929
Signer = lines[1],
3030
Key = lines[2]
3131
};
32-
3332
}
3433
}
3534
}

src/Native/MacOS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void SetupApp(AppBuilder builder)
3131
var env = File.ReadAllText(customPathFile).Trim();
3232
if (!string.IsNullOrEmpty(env))
3333
path = env;
34-
}
34+
}
3535

3636
Environment.SetEnvironmentVariable("PATH", path);
3737
}

src/Views/About.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
Text="{DynamicResource Text.About}"
2929
HorizontalAlignment="Center" VerticalAlignment="Center"
3030
IsHitTestVisible="False"/>
31-
31+
3232
<v:CaptionButtons HorizontalAlignment="Right"
3333
IsCloseButtonOnly="True"
3434
IsVisible="{OnPlatform True, macOS=False}"/>

src/Views/AddWorktree.axaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</Button>
2828
</TextBox.InnerRightContent>
2929
</TextBox>
30-
30+
3131
<TextBlock Grid.Row="1" Grid.Column="0"
3232
HorizontalAlignment="Right" VerticalAlignment="Center"
3333
Margin="0,0,8,0"
@@ -67,15 +67,15 @@
6767
</StackPanel>
6868
</DataTemplate>
6969
</ComboBox.ItemTemplate>
70-
</ComboBox>
70+
</ComboBox>
7171

72-
<Border Grid.Row="3" Grid.Column="0"
72+
<Border Grid.Row="3" Grid.Column="0"
7373
Height="32"
7474
IsVisible="{Binding SetTrackingBranch, Mode=OneWay}">
7575
<TextBlock HorizontalAlignment="Right" VerticalAlignment="Center"
7676
Margin="0,0,8,0"
77-
Text="{DynamicResource Text.AddWorktree.Tracking}"/>
78-
</Border>
77+
Text="{DynamicResource Text.AddWorktree.Tracking}"/>
78+
</Border>
7979
<ComboBox Grid.Row="3" Grid.Column="1"
8080
Height="28" Padding="8,0"
8181
VerticalAlignment="Center" HorizontalAlignment="Stretch"

src/Views/Askpass.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<Border Margin="16,0">
3939
<TextBlock x:Name="TxtDescription" Text="Enter passphrase:" TextWrapping="Wrap"/>
4040
</Border>
41-
41+
4242
<TextBox x:Name="TxtPassphrase"
4343
Margin="16"
4444
MinWidth="300"
@@ -55,7 +55,7 @@
5555
Width="26" Height="14"/>
5656
</TextBox.InnerRightContent>
5757
</TextBox>
58-
58+
5959
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
6060
<Button Classes="flat primary"
6161
Width="80"

src/Views/AssumeUnchangedManager.axaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
Width="600" Height="400"
1515
CanResize="False"
1616
WindowStartupLocation="CenterOwner">
17-
<Grid RowDefinitions="Auto,*">
17+
<Grid RowDefinitions="Auto,*">
1818
<!-- TitleBar -->
1919
<Grid Grid.Row="0" Height="28" IsVisible="{Binding !#ThisControl.UseSystemWindowFrame}">
2020
<Border Background="{DynamicResource Brush.TitleBar}"
2121
BorderThickness="0,0,0,1" BorderBrush="{DynamicResource Brush.Border0}"
2222
PointerPressed="BeginMoveWindow"/>
23-
23+
2424
<Path Width="14" Height="14"
2525
Margin="10,0,0,0"
2626
HorizontalAlignment="Left"
@@ -36,7 +36,7 @@
3636
IsCloseButtonOnly="True"
3737
IsVisible="{OnPlatform True, macOS=False}"/>
3838
</Grid>
39-
39+
4040
<!-- Unchanged Files -->
4141
<Grid Grid.Row="1">
4242
<ListBox Margin="8"
@@ -60,7 +60,7 @@
6060
<VirtualizingStackPanel Orientation="Vertical"/>
6161
</ItemsPanelTemplate>
6262
</ListBox.ItemsPanel>
63-
63+
6464
<ListBox.ItemTemplate>
6565
<DataTemplate>
6666
<Grid Height="26" ColumnDefinitions="26,*,30">
@@ -83,6 +83,6 @@
8383
<Path Width="48" Height="48" Data="{StaticResource Icons.Empty}" Fill="{DynamicResource Brush.FG2}"/>
8484
<TextBlock Margin="0,16,0,0" Text="{DynamicResource Text.AssumeUnchanged.Empty}" Foreground="{DynamicResource Brush.FG2}"/>
8585
</StackPanel>
86-
</Grid>
86+
</Grid>
8787
</Grid>
8888
</v:ChromelessWindow>

src/Views/Blame.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
Text="{DynamicResource Text.Blame}"
3737
HorizontalAlignment="Center" VerticalAlignment="Center"
3838
IsHitTestVisible="False"/>
39-
39+
4040
<!-- Caption Buttons (Windows/Linux) -->
4141
<v:CaptionButtons HorizontalAlignment="Right" IsVisible="{OnPlatform True, macOS=False}"/>
4242
</Grid>

src/Views/BranchCompare.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
Text="{DynamicResource Text.BranchCompare}"
3939
HorizontalAlignment="Center" VerticalAlignment="Center"
4040
IsHitTestVisible="False"/>
41-
41+
4242
<!-- Caption Buttons (Windows/Linux) -->
4343
<v:CaptionButtons HorizontalAlignment="Right" IsVisible="{OnPlatform True, macOS=False}"/>
4444
</Grid>
@@ -89,7 +89,7 @@
8989
</Grid>
9090
</Border>
9191
</Grid>
92-
</Border>
92+
</Border>
9393

9494
<!-- Changes -->
9595
<Border Grid.Row="2">

src/Views/ChangeCollectionView.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
</ItemsPanelTemplate>
2121
</Setter>
2222
</Style>
23-
23+
2424
<Style Selector="ListBoxItem">
2525
<Setter Property="Height" Value="24"/>
2626
<Setter Property="Margin" Value="0"/>
2727
<Setter Property="Padding" Value="0"/>
2828
</Style>
2929
</UserControl.Styles>
30-
30+
3131
<UserControl.DataTemplates>
3232
<DataTemplate DataType="vm:ChangeCollectionAsTree">
3333
<v:ChangeCollectionContainer ItemsSource="{Binding Rows}"

src/Views/ChangeViewModeSwitcher.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</MenuItem>
2828
</MenuFlyout>
2929
</Button.Flyout>
30-
30+
3131
<Grid Width="14" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center">
3232
<Path Width="14" Height="14"
3333
Data="{StaticResource Icons.List}"

0 commit comments

Comments
 (0)