[$this->user->getUID(), 'files', 'file_sorting', 'name', 'name'],
[$this->user->getUID(), 'files', 'file_sorting_direction', 'asc', 'asc'],
[$this->user->getUID(), 'files', 'show_hidden', false, false],
+ [$this->user->getUID(), 'files', 'show_grid', true, true],
]));
- $this->config
- ->expects($this->any())
- ->method('getAppValue')
- ->will($this->returnArgument(2));
+ $this->config
+ ->expects($this->any())
+ ->method('getAppValue')
+ ->will($this->returnArgument(2));
$nav = new Template('files', 'appnavigation');
$nav->assign('usage_relative', 123);
],
],
'hiddenFields' => [],
+ 'showgridview' => true,
+ 'isIE' => false,
]
);
$policy = new Http\ContentSecurityPolicy();
'previewImage' => null,
'previewURL' => 'downloadURL',
'note' => $note,
- 'hideDownload' => false
+ 'hideDownload' => false,
+ 'showgridview' => true
);
$csp = new \OCP\AppFramework\Http\ContentSecurityPolicy();
'previewImage' => null,
'previewURL' => 'downloadURL',
'note' => $note,
- 'hideDownload' => true
+ 'hideDownload' => true,
+ 'showgridview' => true
);
$csp = new \OCP\AppFramework\Http\ContentSecurityPolicy();