|
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
3 | 3 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
| 5 | + xmlns:i="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia" |
5 | 6 | mc:Ignorable="d" d:DesignWidth="780" d:DesignHeight="630"
|
6 | 7 | x:Class="PurpleExplorer.Views.MessageDetailsWindow"
|
7 | 8 | xmlns:vm="clr-namespace:PurpleExplorer.ViewModels;assembly=PurpleExplorer"
|
|
46 | 47 | Command="{Binding DeleteMessage}"
|
47 | 48 | CommandParameter="{Binding $parent[Window]}">
|
48 | 49 | <StackPanel Orientation="Horizontal">
|
49 |
| - <DrawingPresenter Drawing="{DynamicResource Material.Delete}" /> |
| 50 | + <i:Icon Value="fa-trash" /> |
50 | 51 | <TextBlock VerticalAlignment="Center">Delete message</TextBlock>
|
51 | 52 | </StackPanel>
|
52 | 53 | </Button>
|
53 | 54 | <Button Command="{Binding DeadletterMessage}"
|
54 | 55 | IsVisible="{Binding !Message.IsDlq}"
|
55 | 56 | Classes="topButton">
|
56 | 57 | <StackPanel Orientation="Horizontal">
|
57 |
| - <DrawingPresenter Drawing="{DynamicResource Material.EmailSend}" /> |
| 58 | + <i:Icon Value="fa-envelope" /> |
58 | 59 | <TextBlock VerticalAlignment="Center">Send to dead-letter</TextBlock>
|
59 | 60 | </StackPanel>
|
60 | 61 | </Button>
|
61 | 62 | <Button Name="ResendButton" Command="{Binding ResubmitMessage}"
|
62 | 63 | IsVisible="{Binding !!Message.IsDlq}"
|
63 | 64 | Classes="topButton">
|
64 | 65 | <StackPanel Orientation="Horizontal">
|
65 |
| - <DrawingPresenter Drawing="{DynamicResource Material.EmailSend}" /> |
| 66 | + <i:Icon Value="fa-envelope" /> |
66 | 67 | <TextBlock VerticalAlignment="Center">Resubmit back to topic</TextBlock>
|
67 | 68 | </StackPanel>
|
68 | 69 | </Button>
|
|
0 commit comments