re-add back button to dialog.
MODIFY
WalletWasabi.Fluent/Controls/Dialog.xaml
WalletWasabi.Fluent/Controls/Dialog.xaml
xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
xmlns:dialogs="clr-namespace:WalletWasabi.Fluent.ViewModels.Dialogs">
<Design.PreviewWith>
- <c:Dialog Width="400" Height="200" IsDialogOpen="True">
+ <c:Dialog IsDialogOpen="True">
<dialogs:TestDialogViewModel/>
</c:Dialog>
</Design.PreviewWith>
<Panel Background="{DynamicResource DialogOverlayColor}" Name="PART_Overlay" />
<Panel Name="PART_DialogHost" VerticalAlignment="Center" HorizontalAlignment="Center">
<Border CornerRadius="4" BoxShadow="{DynamicResource DialogBoxShadow}" Background="{DynamicResource DialogBackground}">
+ <DockPanel Margin="20 0">
+ <Button DockPanel.Dock="Left" Margin="0 35 0 0" Classes="invisible" Command="{Binding Close}" HorizontalAlignment="Left" VerticalAlignment="Top">
+ <PathIcon Data="{StaticResource arrow_left_regular}" />
+ </Button>
<ContentPresenter Name="PART_ContentPresenter"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
Padding="{TemplateBinding Padding}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"/>
+ </DockPanel>
</Border>
</Panel>
</Panel>

re-add back button to dialog.