Skip to content

Commit cf7cc6b

Browse files
committed
No longer display ApplicationPicker for every opened file
1 parent 2e4dc53 commit cf7cc6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

FileLoader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ public async void GetItemsAsync(string path)
220220
folder = await StorageFolder.GetFolderFromPathAsync(path); // Set location to the current directory specified in path
221221
folderList = await folder.GetFoldersAsync(); // Create a read-only list of all folders in location
222222
fileList = await folder.GetFilesAsync(); // Create a read-only list of all files in location
223-
NumOfFolders = folderList.Count; // How many folders are in the list
224-
NumOfFiles = fileList.Count; // How many files are in the list
223+
NumOfFolders = folderList.Count; // How many folders are in the list
224+
NumOfFiles = fileList.Count; // How many files are in the list
225225
NumOfItems = NumOfFiles + NumOfFolders;
226226
NumItemsRead = 0;
227227

ItemInteractions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public static async void List_ItemClick(object sender, DoubleTappedRoutedEventAr
182182
StorageFile file = await StorageFile.GetFileFromPathAsync(clickedOnItem.FilePath);
183183
var options = new LauncherOptions
184184
{
185-
DisplayApplicationPicker = true
185+
DisplayApplicationPicker = false
186186

187187
};
188188
await Launcher.LaunchFileAsync(file, options);

0 commit comments

Comments
 (0)