File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1215,7 +1215,8 @@ await dispatcherQueue.EnqueueOrInvokeAsync(() =>
12151215 Microsoft . UI . Dispatching . DispatcherQueuePriority . Low ) ;
12161216
12171217 // For MTP devices load thumbnail using Storage API (#15084)
1218- wasThumbnailLoaded |= await LoadThumbnailAsync ( item , matchingStorageFile , cts . Token ) ;
1218+ if ( ! wasThumbnailLoaded )
1219+ await LoadThumbnailAsync ( item , matchingStorageFile , cts . Token ) ;
12191220
12201221 SetFileTag ( item ) ;
12211222 wasSyncStatusLoaded = true ;
@@ -1288,7 +1289,8 @@ await dispatcherQueue.EnqueueOrInvokeAsync(() =>
12881289 Microsoft . UI . Dispatching . DispatcherQueuePriority . Low ) ;
12891290
12901291 // For MTP devices load thumbnail using Storage API (#15084)
1291- wasThumbnailLoaded |= await LoadThumbnailAsync ( item , matchingStorageFolder , cts . Token ) ;
1292+ if ( ! wasThumbnailLoaded )
1293+ await LoadThumbnailAsync ( item , matchingStorageFolder , cts . Token ) ;
12921294
12931295 SetFileTag ( item ) ;
12941296 wasSyncStatusLoaded = true ;
You can’t perform that action at this time.
0 commit comments