diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-10-14 16:08:53 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-10-17 11:19:02 +0200 |
commit | 116c396f0e947c765ce6d512c16c037eb960f31e (patch) | |
tree | 8c37c153db302cb3b42b54f9408465c16388ec9a /apps/files/lib/Service/UserConfig.php | |
parent | c4b8abd343bab47cff241b2746f8e81e004d6041 (diff) | |
download | nextcloud-server-116c396f0e947c765ce6d512c16c037eb960f31e.tar.gz nextcloud-server-116c396f0e947c765ce6d512c16c037eb960f31e.zip |
feat(files): add grid toggle button
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/lib/Service/UserConfig.php')
-rw-r--r-- | apps/files/lib/Service/UserConfig.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/lib/Service/UserConfig.php b/apps/files/lib/Service/UserConfig.php index c39719ae8ed..be32dce0d63 100644 --- a/apps/files/lib/Service/UserConfig.php +++ b/apps/files/lib/Service/UserConfig.php @@ -47,6 +47,12 @@ class UserConfig { 'default' => true, 'allowed' => [true, false], ], + [ + // Whether to show the files list in grid view or not + 'key' => 'grid_view', + 'default' => false, + 'allowed' => [true, false], + ], ]; protected IConfig $config; |