diff options
author | Georg Ehrke <developer@georgehrke.com> | 2015-05-27 14:11:33 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2015-05-27 14:11:33 +0200 |
commit | bb676f27990c45e377ce00dcdbe59919c0b73f60 (patch) | |
tree | 1da1850a9f05461233218b32b21346abbb0519fa /lib | |
parent | 3de945d13da0016cd8c602867ff18a33c2534418 (diff) | |
download | nextcloud-server-bb676f27990c45e377ce00dcdbe59919c0b73f60.tar.gz nextcloud-server-bb676f27990c45e377ce00dcdbe59919c0b73f60.zip |
show txt preview when file contains text
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/preview/txt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/txt.php b/lib/private/preview/txt.php index ea817388f86..684438684fb 100644 --- a/lib/private/preview/txt.php +++ b/lib/private/preview/txt.php @@ -38,7 +38,7 @@ class TXT extends Provider { * {@inheritDoc} */ public function isAvailable(\OCP\Files\FileInfo $file) { - return $file->getSize() > 5; + return $file->getSize() > 0; } /** |