feat: Add renote home only button

This commit is contained in:
2022-02-09 22:47:55 +09:00
parent c57f03b092
commit 75482bb4b3
3 changed files with 11 additions and 0 deletions

View File

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