mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 15:45:38 -04:00
Merge pull request #16578 from owncloud/fix_16556
show txt preview when file contains text
This commit is contained in:
commit
67cef93fdd
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class TXT extends Provider {
|
|||
* {@inheritDoc}
|
||||
*/
|
||||
public function isAvailable(\OCP\Files\FileInfo $file) {
|
||||
return $file->getSize() > 5;
|
||||
return $file->getSize() > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue