summaryrefslogtreecommitdiff
path: root/Juick/Controls
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-03-29 14:58:12 +0400
committerGravatar Vitaly Takmazov2013-03-29 14:58:12 +0400
commit9f19cd09bfad13715bb4eda46e7782f56674e26c (patch)
treef2d7f8be17c0ab9a00056d372a364bb6938f2429 /Juick/Controls
parent32fc287a28c24ca980f4fe67ccab178c04cd9159 (diff)
using PersistentImageCache for avatars
Diffstat (limited to 'Juick/Controls')
-rw-r--r--Juick/Controls/MessageList.xaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Juick/Controls/MessageList.xaml b/Juick/Controls/MessageList.xaml
index 7a5882f..b53b7b8 100644
--- a/Juick/Controls/MessageList.xaml
+++ b/Juick/Controls/MessageList.xaml
@@ -13,6 +13,7 @@
d:DesignHeight="480" d:DesignWidth="480">
<UserControl.Resources>
<converters:MidToUriConverter x:Key="uriConverter" />
+ <converters:UriToImageSourceConverter x:Key="imgCacheConverter" />
</UserControl.Resources>
<Grid x:Name="LayoutRoot">
@@ -37,7 +38,7 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
- <Image bindings:LowProfileImageLoader.UriSource="{Binding AvatarUri}" Grid.Row="0" Grid.Column="0" Margin="3" />
+ <Image Source="{Binding AvatarUri, Converter={StaticResource imgCacheConverter}}" Grid.Row="0" Grid.Column="0" Margin="3" />
<TextBlock Text="{Binding Username}" Grid.Row="0" Grid.Column="1"
Margin="5,0,5,5" VerticalAlignment="Top"
HorizontalAlignment="Left"