исправление больших длинных названий файлов

This commit is contained in:
Alexey Kasyanchuk 2017-01-28 16:00:26 +03:00
parent 2d3f111eaa
commit 597b914bb6

View File

@ -52,6 +52,7 @@ const treeToTorrentFiles = (tree) => {
secondaryText={formatBytes(tree[file].__sizeBT)}
nestedItems={treeToTorrentFiles(tree[file])}
primaryTogglesNestedList={true}
innerDivStyle={{wordBreak: 'break-word'}}
leftIcon={tree[file] && Object.keys(tree[file]).length > 1 ? <FileFolder /> : null}
/>);
}