mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix items showing incorrectly in Trash
This commit is contained in:
@@ -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} />;
|
||||
|
||||
Reference in New Issue
Block a user