translation fix

This commit is contained in:
Daniel Shleifman
2021-06-10 10:51:34 +03:00
parent cfd707ff5d
commit d974fe8ad1
4 changed files with 11 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ const TorrentCache = memo(
const cacheMap = useCreateCacheMap(cache)
const preloadPiecesAmount = Math.round(cache.Capacity / cache.PiecesLength - 1)
const isSnakeLarge = cacheMap.length > 5000
const isSnakeLarge = cacheMap.length > 1000
return isMini ? (
<DefaultSnake isMini cacheMap={cacheMap} preloadPiecesAmount={preloadPiecesAmount} />