Skip to content

Commit

Permalink
Added ToLower()
Browse files Browse the repository at this point in the history
  • Loading branch information
d2dyno1 committed Mar 30, 2021
1 parent 7521220 commit 8b45613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Files/Helpers/StorageItemHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static async Task<TOut> ToStorageItem<TOut>(string path, IShellPage assoc
FilesystemResult<StorageFile> file = null;
FilesystemResult<StorageFolder> folder = null;

if (path.EndsWith(".lnk") || path.EndsWith(".url"))
if (path.ToLower().EndsWith(".lnk") || path.ToLower().EndsWith(".url"))
{
// TODO: In the future, when IStorageItemWithPath will inherit from IStorageItem,
// we could implement this code here for getting .lnk files
Expand Down

0 comments on commit 8b45613

Please sign in to comment.