Skip to content

Commit e5c9ad3

Browse files
authored
Removed the image property from the library widget (#2439)
1 parent bf4570b commit e5c9ad3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Files/UserControls/Widgets/LibraryCards.xaml.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,35 +25,30 @@ public LibraryCards()
2525
itemsAdded.Clear();
2626
itemsAdded.Add(new FavoriteLocationItem()
2727
{
28-
ImageSource = "Assets/Cards/Gradients/Blue.png",
2928
Icon = "\xe91c",
3029
Text = "SidebarDownloads".GetLocalized(),
3130
Tag = "Downloads"
3231
});
3332
itemsAdded.Add(new FavoriteLocationItem()
3433
{
35-
ImageSource = "Assets/Cards/Gradients/Green.png",
3634
Icon = "\xea11",
3735
Text = "SidebarDocuments".GetLocalized(),
3836
Tag = "Documents"
3937
});
4038
itemsAdded.Add(new FavoriteLocationItem()
4139
{
42-
ImageSource = "Assets/Cards/Gradients/Orange.png",
4340
Icon = "\xea83",
4441
Text = "SidebarPictures".GetLocalized(),
4542
Tag = "Pictures"
4643
});
4744
itemsAdded.Add(new FavoriteLocationItem()
4845
{
49-
ImageSource = "Assets/Cards/Gradients/Pink.png",
5046
Icon = "\xead4",
5147
Text = "SidebarMusic".GetLocalized(),
5248
Tag = "Music"
5349
});
5450
itemsAdded.Add(new FavoriteLocationItem()
5551
{
56-
ImageSource = "Assets/Cards/Gradients/Red.png",
5752
Icon = "\xec0d",
5853
Text = "SidebarVideos".GetLocalized(),
5954
Tag = "Videos"
@@ -127,7 +122,6 @@ public class LibraryCardInvokedEventArgs : EventArgs
127122

128123
public class FavoriteLocationItem
129124
{
130-
public string ImageSource { get; set; }
131125
public string Icon { get; set; }
132126
public string Text { get; set; }
133127
public string Tag { get; set; }

0 commit comments

Comments
 (0)