1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Mobile: Fixes #9858: Fix deeply-nested subnotebook titles invisible in the folder dropdown (#9906)

This commit is contained in:
Henry Heino
2024-02-08 15:17:17 -08:00
committed by GitHub
parent 802f6c462e
commit 347ba9bb38
2 changed files with 15 additions and 5 deletions

View File

@ -44,7 +44,7 @@ const FolderPicker: FunctionComponent<FolderPickerProps> = ({
const f = folders[i];
const icon = Folder.unserializeIcon(f.icon);
const iconString = icon ? `${icon.emoji} ` : '';
pickerItems.push({ label: `${' '.repeat(indent)} ${iconString + Folder.displayTitle(f)}`, value: f.id });
pickerItems.push({ label: `${iconString + Folder.displayTitle(f)}`, depth: indent, value: f.id });
pickerItems = addFolderChildren(f.children, pickerItems, indent + 1);
}