Skip to content

Commit

Permalink
Fix main branch (#9303)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinqmilleans committed May 31, 2022
1 parent 0242df5 commit 2025184
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -166,7 +166,7 @@ public static async Task<ListedItem> AddFolderAsync(BaseStorageFolder folder, St
{
if (folder is ShortcutStorageFolder linkFolder)
{
return new ShortcutItem(folder.FolderRelativeId, dateReturnFormat)
return new ShortcutItem(folder.FolderRelativeId)
{
PrimaryItemAttribute = StorageItemTypes.Folder,
IsHiddenItem = false,
Expand Down Expand Up @@ -265,7 +265,7 @@ CancellationToken cancellationToken
if (file is ShortcutStorageFile linkFile)
{
var isUrl = linkFile.Name.EndsWith(".url", StringComparison.OrdinalIgnoreCase);
return new ShortcutItem(file.FolderRelativeId, dateReturnFormat)
return new ShortcutItem(file.FolderRelativeId)
{
PrimaryItemAttribute = StorageItemTypes.File,
FileExtension = itemFileExtension,
Expand Down

0 comments on commit 2025184

Please sign in to comment.