Youtube indirmeleri ile ilgili UI/UX güncellemeleri yapıldı
This commit is contained in:
@@ -78,6 +78,10 @@
|
||||
: originalSegments;
|
||||
|
||||
const isDirectory = Boolean(file.isDirectory);
|
||||
const baseDisplayName =
|
||||
file.displayName ||
|
||||
displaySegments[displaySegments.length - 1] ||
|
||||
file.name;
|
||||
return {
|
||||
...file,
|
||||
isDirectory,
|
||||
@@ -85,7 +89,7 @@
|
||||
originalSegments,
|
||||
displaySegments,
|
||||
displayPath: displaySegments.join("/"),
|
||||
displayName: displaySegments[displaySegments.length - 1] || file.name,
|
||||
displayName: baseDisplayName,
|
||||
displayParentPath: displaySegments.slice(0, -1).join("/"),
|
||||
};
|
||||
}
|
||||
@@ -123,7 +127,7 @@
|
||||
if (file.isDirectory) {
|
||||
const displayPath = segments.join("/");
|
||||
const parentDisplayPath = segments.slice(0, -1).join("/");
|
||||
const displayName = segments[segments.length - 1] || displayPath;
|
||||
const displayName = file.displayName || segments[segments.length - 1] || displayPath;
|
||||
ensureDirectoryEntry(displayPath, displayName, parentDisplayPath, fullOriginalPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user