Skip to content

Commit dde4c74

Browse files
committed
CQ: Removal of unnecessary parts
1 parent 67d6e34 commit dde4c74

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

src/Files.App/UserControls/AddressToolbar.xaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,7 @@
263263
</AnimatedIcon>
264264
</ToggleButton>
265265

266-
<StackPanel
267-
x:Name="NavigationButtons"
268-
FlowDirection="{Binding Path=FlowDirection, ElementName=Root}"
269-
Orientation="Horizontal">
266+
<StackPanel FlowDirection="{Binding Path=FlowDirection, ElementName=Root}" Orientation="Horizontal">
270267
<Button
271268
x:Name="Back"
272269
AccessKey="B"
@@ -696,20 +693,6 @@
696693
<Setter Target="StatusInfoBadge.Style" Value="{StaticResource CriticalIconInfoBadgeStyle}" />
697694
</VisualState.Setters>
698695
</VisualState>
699-
<!-- FlowDirection LeftToRight -->
700-
<VisualState x:Name="LTR">
701-
<VisualState.Setters>
702-
<Setter Target="NavigationButtons.Children[0]" Value="Back" />
703-
<Setter Target="NavigationButtons.Children[1]" Value="Forward" />
704-
</VisualState.Setters>
705-
</VisualState>
706-
<!-- FlowDirection RightToLeft -->
707-
<VisualState x:Name="RTL">
708-
<VisualState.Setters>
709-
<Setter Target="NavigationButtons.Children[0]" Value="Forward" />
710-
<Setter Target="NavigationButtons.Children[1]" Value="Back" />
711-
</VisualState.Setters>
712-
</VisualState>
713696
</VisualStateGroup>
714697
</VisualStateManager.VisualStateGroups>
715698
</Grid>

0 commit comments

Comments
 (0)