Use AnimatedButton in about view
MODIFY
WalletWasabi.Fluent/Views/HelpAndSupport/AboutView.axaml
WalletWasabi.Fluent/Views/HelpAndSupport/AboutView.axaml
CommandParameter="{x:Static vm:AboutViewModel.DocsLink}">
<TextBlock Text="Documentation" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.DocsLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
CommandParameter="{x:Static vm:AboutViewModel.SourceCodeLink}">
<TextBlock Text="Source Code (Github)" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.SourceCodeLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
CommandParameter="{x:Static vm:AboutViewModel.ClearnetLink}">
<TextBlock Text="Website (Clearnet)" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.ClearnetLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
<TextBlock Text="Website (Tor)" />
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.TorLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
CommandParameter="{x:Static vm:AboutViewModel.StatusPageLink}">
<TextBlock Text="Coordinator Status Page" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.StatusPageLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
CommandParameter="{x:Static vm:AboutViewModel.UserSupportLink}">
<TextBlock Text="User Support" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.UserSupportLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
CommandParameter="{x:Static vm:AboutViewModel.BugReportLink}">
<TextBlock Text="Bug Reporting" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.BugReportLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
<TextBlock Classes="LinkSeparatorPadding" Text="-" />
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
CommandParameter="{x:Static vm:AboutViewModel.FAQLink}">
<TextBlock Text="FAQs" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.FAQLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
</WrapPanel>
<Button HorizontalAlignment="Center" Classes="plain obscured"
CommandParameter="{x:Static vm:AboutViewModel.LicenseLink}">
<TextBlock Text="MIT License" Classes="Hyperlink" />
</Button>
- <Button Classes="plain"
+ <controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{x:Static vm:AboutViewModel.LicenseLink}"
- ToolTip.Tip="Copy link">
- <PathIcon Data="{StaticResource copy_regular}" Width="13" />
- </Button>
+ NormalIcon="{StaticResource copy_regular}"
+ ClickIcon="{StaticResource copy_confirmed}"/>
</StackPanel>
</WrapPanel>
</StackPanel>

Use AnimatedButton in about view