mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
This commit is contained in:
parent
55d72a8f68
commit
382f0d8218
@ -372,10 +372,10 @@ const SideMenuContentComponent = (props: Props) => {
|
||||
|
||||
const renderFolderIcon = (folderId: string, theme: any, folderIcon: FolderIcon) => {
|
||||
if (!folderIcon) {
|
||||
if (alwaysShowFolderIcons) {
|
||||
return <Icon name="folder-outline" style={styles_.emptyFolderIcon} />;
|
||||
} else if (folderId === getTrashFolderId()) {
|
||||
if (folderId === getTrashFolderId()) {
|
||||
folderIcon = getTrashFolderIcon(FolderIconType.Emoji);
|
||||
} else if (alwaysShowFolderIcons) {
|
||||
return <Icon name="folder-outline" style={styles_.emptyFolderIcon} />;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user