feat: Add toggle to swap the order of like/dislike buttons (#4221)

This commit is contained in:
J0w03L
2026-01-29 08:41:52 +00:00
committed by GitHub
parent e3be1e7777
commit f3d988746a
4 changed files with 28 additions and 0 deletions

View File

@ -285,6 +285,19 @@ export const mainMenuTemplate = async (
config.set('options.likeButtons', 'hide');
},
},
{
label: t(
'main.menu.options.submenu.visual-tweaks.submenu.like-buttons.swap',
),
type: 'checkbox',
checked: config.get('options.swapLikeButtonsOrder'),
click(item: MenuItem) {
config.setMenuOption(
'options.swapLikeButtonsOrder',
item.checked,
);
},
},
],
},
{