Merge pull request #16578 from owncloud/fix_16556

show txt preview when file contains text
This commit is contained in:
Thomas Müller 2015-05-28 20:48:16 +02:00
commit 67cef93fdd
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class TXT extends Provider {
* {@inheritDoc}
*/
public function isAvailable(\OCP\Files\FileInfo $file) {
return $file->getSize() > 5;
return $file->getSize() > 0;
}
/**