Fixed Bug 57637: Client: Files: Fixed icon size for editing item

This commit is contained in:
Ilya Oleshko 2022-06-20 22:09:36 +03:00
parent db89e1684c
commit fc567a1040

View File

@ -1492,7 +1492,7 @@ class FilesStore {
if (items.length && items[0].id === -1) return; //TODO: if change media collection from state remove this;
const iconSize = this.viewAs === "tile" && isMobile ? 32 : 24;
const iconSize = this.viewAs === "table" ? 24 : 32;
const icon = extension
? getFileIcon(`.${extension}`, iconSize)
: getFolderIcon(null, iconSize);