Skip to content

Commit 33398c7

Browse files
authored
Update re-pinned library icons (#954)
1 parent 9bb5193 commit 33398c7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Files/Interacts/Interaction.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,31 @@ public async void PinItem_Click(object sender, RoutedEventArgs e)
172172
var content = name;
173173
var icon = "\uE8B7";
174174

175+
if (itemPath == App.AppSettings.DesktopPath)
176+
{
177+
icon = "\uE8FC";
178+
}
179+
else if (itemPath == App.AppSettings.DownloadsPath)
180+
{
181+
icon = "\uE896";
182+
}
183+
else if (itemPath == App.AppSettings.DocumentsPath)
184+
{
185+
icon = "\uE8A5";
186+
}
187+
else if (itemPath == App.AppSettings.PicturesPath)
188+
{
189+
icon = "\uEB9F";
190+
}
191+
else if (itemPath == App.AppSettings.MusicPath)
192+
{
193+
icon = "\uEC4F";
194+
}
195+
else if (itemPath == App.AppSettings.VideosPath)
196+
{
197+
icon = "\uE8B2";
198+
}
199+
175200
bool isDuplicate = false;
176201
foreach (INavigationControlItem sbi in App.sideBarItems)
177202
{

0 commit comments

Comments
 (0)