Always bold first boost option

This commit is contained in:
Freeplay 2023-06-12 20:06:42 -04:00
parent b1e7129a41
commit 267ed46941

View file

@ -82,7 +82,6 @@ const renote = (viaKeyboard = false, ev?: MouseEvent) => {
if (props.note.visibility === "public") {
buttonActions.push({
text: i18n.ts.renote,
textStyle: "font-weight: bold",
icon: "ph-repeat ph-bold ph-lg",
danger: false,
action: () => {
@ -251,6 +250,9 @@ const renote = (viaKeyboard = false, ev?: MouseEvent) => {
},
});
}
buttonActions[0].textStyle = "font-weight: bold";
os.popupMenu(buttonActions, buttonRef.value, { viaKeyboard });
};
</script>