feat(ui): replace emoji camera button with vector path icon
Uses a Material Design outline camera path (body + lens) inside a Viewbox so the icon scales cleanly and inherits the theme foreground color.
This commit is contained in:
@@ -295,11 +295,17 @@
|
||||
<TextBox Grid.Column="0"
|
||||
PlaceholderText="{Binding Loc[send.to]}" Text="{Binding SendTo}"
|
||||
FontFamily="monospace"/>
|
||||
<Button Grid.Column="1" Margin="6,0,0,0" Padding="10,0"
|
||||
Content="📷" FontSize="20"
|
||||
<Button Grid.Column="1" Margin="6,0,0,0" Padding="8,6"
|
||||
IsVisible="{Binding IsMobile}"
|
||||
Command="{Binding ScanQrCommand}"
|
||||
ToolTip.Tip="{Binding Loc[send.scan]}"/>
|
||||
ToolTip.Tip="{Binding Loc[send.scan]}">
|
||||
<Viewbox Width="22" Height="22">
|
||||
<Canvas Width="24" Height="24">
|
||||
<Path Fill="{DynamicResource SystemBaseHighColor}"
|
||||
Data="M20,5H16.83L15,3H9L7.17,5H4A2,2 0 0,0 2,7V19A2,2 0 0,0 4,21H20A2,2 0 0,0 22,19V7A2,2 0 0,0 20,5M20,19H4V7H8.05L9.88,5H14.12L15.95,7H20V19M12,8A5,5 0 0,0 7,13A5,5 0 0,0 12,18A5,5 0 0,0 17,13A5,5 0 0,0 12,8M12,16A3,3 0 0,1 9,13A3,3 0 0,1 12,10A3,3 0 0,1 15,13A3,3 0 0,1 12,16Z"/>
|
||||
</Canvas>
|
||||
</Viewbox>
|
||||
</Button>
|
||||
</Grid>
|
||||
<!-- Desktop: riga amount + fee in 4 colonne -->
|
||||
<Grid ColumnDefinitions="*,Auto,Auto,Auto" IsVisible="{Binding IsDesktop}">
|
||||
|
||||
Reference in New Issue
Block a user