Sync w/ build system

This commit is contained in:
Robin E. R. Davies
2025-06-16 02:21:54 -04:00
parent 13883f91ab
commit e893e95325
11 changed files with 553 additions and 79 deletions
+13
View File
@@ -789,6 +789,8 @@ export default withStyles(
}
return result;
}
private getIcon(fileEntry: FileEntry, largeIcon: boolean) {
let style = largeIcon
? {
@@ -1002,6 +1004,9 @@ export default withStyles(
if (this.state.reordering && !value.metadata) {
return null; // don't render non-track files when reordering.
}
if (this.state.reordering && this.isFolderArtwork(value.pathname)) {
return null;
}
let displayValue = value.displayName;
if (displayValue === "") {
displayValue = "<none>";
@@ -1400,6 +1405,14 @@ export default withStyles(
}
});
} else {
this.requestFiles(this.state.navDirectory);
this.setState({
selectedFile: filename,
selectedFileIsDirectory: this.isDirectory(filename),
selectedFileProtected: false
});
this.requestScroll = true;
}
})
.catch((e) => {