File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -234,17 +234,17 @@ public async Task AddItemToSidebarAsync(string path)
234
234
locationItem . IsInvalid = false ;
235
235
if ( res )
236
236
{
237
- var iconData = await FileThumbnailHelper . LoadIconFromStorageItemAsync ( res . Result , 24u , ThumbnailMode . ListView ) ;
237
+ var iconData = await FileThumbnailHelper . LoadIconFromStorageItemAsync ( res . Result , 96u , ThumbnailMode . ListView ) ;
238
238
locationItem . IconData = iconData ;
239
239
locationItem . Icon = await App . Window . DispatcherQueue . EnqueueAsync ( ( ) => locationItem . IconData . ToBitmapAsync ( ) ) ;
240
240
}
241
+
241
242
if ( locationItem . IconData == null )
242
243
{
243
- locationItem . IconData = await FileThumbnailHelper . LoadIconWithoutOverlayAsync ( path , 24u ) ;
244
+ locationItem . IconData = await FileThumbnailHelper . LoadIconWithoutOverlayAsync ( path , 96u ) ;
245
+
244
246
if ( locationItem . IconData != null )
245
- {
246
247
locationItem . Icon = await App . Window . DispatcherQueue . EnqueueAsync ( ( ) => locationItem . IconData . ToBitmapAsync ( ) ) ;
247
- }
248
248
}
249
249
}
250
250
else
You can’t perform that action at this time.
0 commit comments