feat: リノートメニューに鍵リノートボタンを追加 (#13)

This commit is contained in:
こけっち
2022-02-07 03:18:33 +09:00
committed by GitHub
parent 7257336dc5
commit 088ecac89d
3 changed files with 12 additions and 1 deletions

View File

@ -66,7 +66,16 @@ export default defineComponent({
renoteId: props.note.id
});
}
}, {
},{
text: i18n.ts.renoteFollowersOnly,
icon: 'fas fa-unlock',
action: () => {
os.api('notes/create', {
renoteId: props.note.id,
visibility: 'followers'
});
}
},{
text: i18n.ts.quote,
icon: 'fas fa-quote-right',
action: () => {