fix items showing incorrectly in Trash

This commit is contained in:
ammarahm-ed
2020-11-01 09:22:28 +05:00
parent dd265c979c
commit 3350f80eb0
2 changed files with 25 additions and 17 deletions

View File

@@ -147,6 +147,10 @@ const SimpleList = ({
dim.width = width;
dim.height = 110 * fontScale;
break;
case 'trash':
dim.width = width;
dim.height = 110 * fontScale;
break;
case 'topic':
dim.width = width;
dim.height = 80 * fontScale;
@@ -174,6 +178,7 @@ const SimpleList = ({
);
const _renderRow = (type, data, index) => {
switch (type) {
case 'note':
return <RenderItem item={data} pinned={data.pinned} index={index} />;