Use common button for AdvancedRecoveryOptionsViewModel
MODIFY
WalletWasabi.Fluent/Views/Dialogs/AdvancedRecoveryOptionsView.axaml
WalletWasabi.Fluent/Views/Dialogs/AdvancedRecoveryOptionsView.axaml
<UserControl.KeyBindings>
<KeyBinding Gesture="Enter" Command="{Binding ContinueCommand}" />
</UserControl.KeyBindings>
- <DockPanel Margin="0 0 0 20">
-
- <DockPanel DockPanel.Dock="Bottom" Margin="0 40 0 0">
- <Button DockPanel.Dock="Left" Content="Cancel" Command="{Binding CancelCommand}" Classes="invisible"
- HorizontalAlignment="Left" VerticalAlignment="Bottom" />
- <Button DockPanel.Dock="Right" Content="Continue" Command="{Binding ContinueCommand}" Classes="action"
- HorizontalAlignment="Right" VerticalAlignment="Bottom" />
- </DockPanel>
-
<c:ContentArea Title="Advanced Recovery Options"
- Caption="Type your wallet-specific recovery options and click Continue.">
+ Caption="Type your wallet-specific recovery options and click Continue."
+ EnableCancel="True" CancelContent="Cancel"
+ EnableNext="True" NextContent="Continue">
<StackPanel HorizontalAlignment="Center" Spacing="40" MinWidth="380" Margin="30 0 0 0">
<DockPanel>
<TextBox Name="TbGapLimit" Watermark="e.g., 63" Text="{Binding MinGapLimit}"
DockPanel.Dock="Top" Width="350" />
</DockPanel>
-
</StackPanel>
</c:ContentArea>
- </DockPanel>
</UserControl>
\ No newline at end of file

Use common button for AdvancedRecoveryOptionsViewModel