Commit c87800ce authored by Margaux Clerc's avatar Margaux Clerc

Add download button in incoming chat

parent 3314636e
......@@ -39,6 +39,10 @@
Grid.Row="1"
x:Name="Download"
Visibility="Collapsed"
Content="Download"
x:Uid="DownloadImage"
HorizontalAlignment="Stretch"
Margin="5,5,5,0"
Click="DownloadImage_Click"
Foreground="White"
BorderBrush="White"/>
......
......@@ -121,7 +121,7 @@ namespace Linphone.Controls
{
Download.Visibility = Visibility.Collapsed;
ProgressBar.Visibility = Visibility.Visible;
//DownloadImage(this, ChatMessage);
DownloadImage(this, ChatMessage);
}
}
......
......@@ -432,7 +432,7 @@ and cc-by-nd from https://github.com/Templarian/WindowsIcons</value>
<data name="ShowImage" xml:space="preserve">
<value>Show</value>
</data>
<data name="DownloadImage" xml:space="preserve">
<data name="DownloadImage.Content" xml:space="preserve">
<value>Download</value>
</data>
<data name="Uploading" xml:space="preserve">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment