From 382f0d82188a3c350e1f136a3b41763c85aded6f Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Wed, 20 Mar 2024 18:09:01 -0700 Subject: [PATCH] Mobile: Fixes #10172: Fix trash folder sometimes has wrong icon (#10173) --- packages/app-mobile/components/side-menu-content.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app-mobile/components/side-menu-content.tsx b/packages/app-mobile/components/side-menu-content.tsx index f4c5fa566..adbb2309e 100644 --- a/packages/app-mobile/components/side-menu-content.tsx +++ b/packages/app-mobile/components/side-menu-content.tsx @@ -372,10 +372,10 @@ const SideMenuContentComponent = (props: Props) => { const renderFolderIcon = (folderId: string, theme: any, folderIcon: FolderIcon) => { if (!folderIcon) { - if (alwaysShowFolderIcons) { - return ; - } else if (folderId === getTrashFolderId()) { + if (folderId === getTrashFolderId()) { folderIcon = getTrashFolderIcon(FolderIconType.Emoji); + } else if (alwaysShowFolderIcons) { + return ; } else { return null; }