Always bold first boost option
This commit is contained in:
parent
1a29bbe895
commit
cb59298df4
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue