Skip to content

Commit

Permalink
Merge pull request WalletWasabi#11787 from adamPetho/fix_copy_amount_…
Browse files Browse the repository at this point in the history
…on_tx_preview

[VDG] Fix amount copy on Transaction Preview dialog
  • Loading branch information
RolandUI authored Oct 25, 2023
2 parents c99dc02 + 0b1850f commit a399659
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</Button>
<c:PreviewItem Icon="{StaticResource btc_logo}"
Label="Amount" HorizontalContentAlignment="Stretch"
CopyableContent="{Binding Amount}">
CopyableContent="{Binding Amount.Btc}">
<StackPanel Orientation="Horizontal">
<c:AmountControl Amount="{Binding Amount}" />
<TextBlock Margin="8 0" FontWeight="Bold" Foreground="{Binding FeeDiff, Converter={StaticResource NeutralDiffConverter}}" IsVisible="{Binding !!AmountDiff}" VerticalAlignment="Bottom" Text="{Binding AmountDiff, Converter={x:Static converters:MoneyConverters.PercentageDifferenceConverter}}" />
Expand All @@ -60,7 +60,6 @@
<Binding Path="!!AmountDiff" Converter="{x:Static BoolConverters.Not}" />
</MultiBinding>
</Classes.Dimmed>

</c:PreviewItem>
</DockPanel>
<Separator />
Expand Down Expand Up @@ -121,7 +120,6 @@
<Binding Path="!!FeeDiff" Converter="{x:Static BoolConverters.Not}" />
</MultiBinding>
</Classes.Dimmed>

</c:PreviewItem>
</StackPanel>
</DockPanel>
Expand Down

0 comments on commit a399659

Please sign in to comment.