Always bold first boost option

This commit is contained in:
Freeplay 2023-06-12 20:06:42 -04:00
parent 1a29bbe895
commit cb59298df4

View file

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