feat: Unified icon picker (#7038)

This commit is contained in:
Hemachandar
2024-06-23 19:01:18 +05:30
committed by GitHub
parent 56d90e6bc3
commit 6fd3a0fa8a
83 changed files with 2302 additions and 852 deletions

View File

@@ -79,7 +79,7 @@ export default class ImportMarkdownZipTask extends ImportTask {
return;
}
const { title, emoji, text } = await documentImporter({
const { title, icon, text } = await documentImporter({
mimeType: "text/markdown",
fileName: child.name,
content:
@@ -115,8 +115,8 @@ export default class ImportMarkdownZipTask extends ImportTask {
output.documents.push({
id,
title,
emoji,
icon: emoji,
emoji: icon,
icon,
text,
collectionId,
parentDocumentId,