1
0
Fork 0
mirror of https://github.com/MetaProvide/talked-client.git synced 2025-04-06 14:05:25 +00:00

Add grid_view as an allowed argument

This commit is contained in:
Magnus Walbeck 2021-12-26 22:51:06 +01:00
parent 3a172615d2
commit c5a2557c53
Signed by: mwalbeck
GPG key ID: CCB78CFF3F950769

View file

@ -253,6 +253,13 @@ You have the following options available:
$parsedArguments['audio_only'] = false;
}
continue 2;
case 'grid_view':
if (strtolower($parts[1]) === 'true') {
$parsedArguments['grid_view'] = true;
} elseif (strtolower($parts[1]) === 'false') {
$parsedArguments['grid_view'] = false;
}
continue 2;
default:
continue 2;
}