add both currency codes to currency entry box.
MODIFY
WalletWasabi.Fluent/Controls/CurrencyEntryBox.axaml
WalletWasabi.Fluent/Controls/CurrencyEntryBox.axaml
<Setter Property="MinWidth" Value="{DynamicResource TextControlThemeMinWidth}" />
<Setter Property="Padding" Value="{DynamicResource TextControlThemePadding}" />
<Setter Property="CaretBrush" Value="{DynamicResource TextControlForeground}" />
+ <Setter Property="Cursor" Value="IBeam" />
<Setter Property="Template">
<ControlTemplate>
<DockPanel>
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
<!-- TODO eliminate this margin... text layout issue? -->
+ <StackPanel Orientation="Horizontal">
<TextPresenter Name="PART_TextPresenter"
- Margin="0 1 0 0"
Text="{TemplateBinding Text, Mode=TwoWay}"
CaretIndex="{TemplateBinding CaretIndex}"
SelectionStart="{TemplateBinding SelectionStart}"
CaretBrush="{TemplateBinding CaretBrush}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
+ <TextBlock Name="PART_CurrencyCode"
+ Opacity="0.5"
+ Margin="5 0 0 0"
+ Text="{TemplateBinding CurrencyCode}"
+ IsVisible="{TemplateBinding CurrencyCode, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"
+ HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+ VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
+ </StackPanel>
</Panel>
</DockPanel>
</ScrollViewer>
<Setter Property="BorderBrush" Value="{DynamicResource TextControlBorderBrushDisabled}" />
</Style>
- <Style Selector="c|CurrencyEntryBox:disabled /template/ TextBlock#PART_Watermark, TextBox:disabled /template/ TextBlock#PART_FloatingWatermark">
+ <Style
+ Selector="c|CurrencyEntryBox:disabled /template/ TextBlock#PART_Watermark, TextBox:disabled /template/ TextBlock#PART_FloatingWatermark">
<Setter Property="Foreground" Value="{DynamicResource TextControlPlaceholderForegroundDisabled}" />
</Style>
<Setter Property="Background" Value="{DynamicResource TextControlBackgroundPointerOver}" />
</Style>
- <Style Selector="c|CurrencyEntryBox:pointerover /template/ TextBlock#PART_Watermark, TextBox:pointerover /template/ TextBlock#PART_FloatingWatermark">
+ <Style
+ Selector="c|CurrencyEntryBox:pointerover /template/ TextBlock#PART_Watermark, TextBox:pointerover /template/ TextBlock#PART_FloatingWatermark">
<Setter Property="Foreground" Value="{DynamicResource TextControlPlaceholderForegroundPointerOver}" />
</Style>
<Setter Property="Foreground" Value="{DynamicResource TextControlForegroundFocused}" />
</Style>
- <Style Selector="c|CurrencyEntryBox:focus /template/ TextBlock#PART_Watermark, TextBox:focus /template/ TextBlock#PART_FloatingWatermark">
+ <Style
+ Selector="c|CurrencyEntryBox:focus /template/ TextBlock#PART_Watermark, TextBox:focus /template/ TextBlock#PART_FloatingWatermark">
<Setter Property="Foreground" Value="{DynamicResource TextControlPlaceholderForegroundFocused}" />
</Style>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
<StackPanel>
<Label Content="_Amount:" Target="amountTb" />
- <c:CurrencyEntryBox x:Name="amountTb" ConversionRate="32212.00" CurrencyCode="USD" />
+ <c:CurrencyEntryBox x:Name="amountTb" ConversionRate="32212.00" CurrencyCode="BTC" ConversionCurrencyCode="USD" />
</StackPanel>
<StackPanel>

add both currency codes to currency entry box.