fix: neocord logo and logo_tooltip

User couldn't set the logo url, also logo_tooltip didn't allow custom string because of the enum.
This commit is contained in:
Redyf 2024-02-16 14:29:11 -03:00 committed by Gaétan Lepage
parent 9ec2de03af
commit d656834e3d
2 changed files with 3 additions and 3 deletions

View file

@ -20,11 +20,11 @@ with lib;
`:lua package.loaded.neocord:update()`
'';
logo = helpers.defaultNullOpts.mkEnum ["auto" "url"] "auto" ''
logo = helpers.defaultNullOpts.mkStr "auto" ''
Update the Logo to the specified option ("auto" or url).
'';
logo_tooltip = helpers.defaultNullOpts.mkEnum ["null" "string"] "null" ''
logo_tooltip = helpers.mkNullOrStr ''
Sets the logo tooltip
'';