mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
add a default action to a setting: for text click
This commit is contained in:
committed by
Mungai Njoroge
parent
c1fb05e2a0
commit
6d84283efd
@@ -22,6 +22,7 @@ const context_children_show_mode: Setting = {
|
||||
],
|
||||
source: () => settings().contextChildrenShowMode,
|
||||
action: (value: mode) => settings().setContextChildrenShowMode(value),
|
||||
defaultAction: () => settings().toggleContextChildrenShowMode(),
|
||||
};
|
||||
|
||||
export default [context_children_show_mode];
|
||||
export default [context_children_show_mode];
|
||||
|
||||
Reference in New Issue
Block a user