Merge branch 'master' of https://github.com/c-my/FileManager-UWP
wtf????
This commit is contained in:
@@ -34,7 +34,7 @@ namespace FileManager_UWP.Service {
|
||||
//var virtualFolderName = path.Substring(0, path.LastIndexOf('\\'));
|
||||
//path = path.Substring(path.LastIndexOf('\\'));
|
||||
var directoryName = Path.GetDirectoryName(path);
|
||||
var virtualFolderName = path.Substring(path.LastIndexOf('\\'));
|
||||
var virtualFolderName = path.Substring(path.LastIndexOf('\\') + 1);
|
||||
|
||||
if (directoryName == null)
|
||||
throw new FileNotFoundException();
|
||||
@@ -97,7 +97,7 @@ namespace FileManager_UWP.Service {
|
||||
foreach (var virtualFolder in folderSetting.VirtualFolders) {
|
||||
displayFileFolderItems.Add(new DisplayableSpecial(
|
||||
virtualFolder.Name,
|
||||
folder.Path + "//" + virtualFolder.Name,
|
||||
folder.Path + "\\" + virtualFolder.Name,
|
||||
Type.VirtualFolder,
|
||||
await IconServer.GetFolderIcon(ThumbnailMode.ListView, 32)));
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace FileManager_UWP.View {
|
||||
sp.Height = 44;
|
||||
sp.Padding = new Windows.UI.Xaml.Thickness(12);
|
||||
sp.Orientation = Orientation.Horizontal;
|
||||
// TODO:滥用Tag
|
||||
sp.SetValue(StackPanel.TagProperty, displayFileItem);
|
||||
|
||||
Image Icon = new Image();
|
||||
|
||||
Reference in New Issue
Block a user