Option to change the visibility of the media button (#226)

* add option entry and default value

* add functionality

* Update options copy

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Remove redundant visibility property

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* changing the option takes effect immediately

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
Hristo Karamanliev
2024-09-06 05:51:36 +03:00
committed by GitHub
parent 024986d7be
commit c0561a7c8d
3 changed files with 11 additions and 3 deletions

View File

@@ -861,7 +861,8 @@ const options = mkOptions(OPTIONS, {
show_artist: opt(false),
truncation: opt(true),
show_label: opt(true),
truncation_size: opt(30)
truncation_size: opt(30),
show_active_only: opt(false)
},
notifications: {
show_total: opt(false),