upd: replace pencil icon, widget icon
This commit is contained in:
@@ -104,7 +104,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
|
||||
}),
|
||||
}] : [], { type: 'divider' }, {
|
||||
text: i18n.ts.createNoteFromTheFile,
|
||||
icon: 'ph-pencil ph-bold ph-lg',
|
||||
icon: 'ph-pencil-simple ph-bold ph-lg',
|
||||
action: () => os.post({
|
||||
initialFiles: [file],
|
||||
}),
|
||||
|
||||
@@ -298,7 +298,7 @@ export function getNoteMenu(props: {
|
||||
text: i18n.ts.copyContent,
|
||||
action: copyContent,
|
||||
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink)
|
||||
, (appearNote.url || appearNote.uri) ?
|
||||
, (appearNote.url || appearNote.uri) ?
|
||||
getCopyNoteOriginLinkMenu(appearNote, 'Copy link (Origin)')
|
||||
: undefined,
|
||||
(appearNote.url || appearNote.uri) ? {
|
||||
@@ -418,16 +418,16 @@ export function getNoteMenu(props: {
|
||||
...(appearNote.userId === $i.id || $i.isModerator || $i.isAdmin ? [
|
||||
{ type: 'divider' },
|
||||
appearNote.userId === $i.id ? {
|
||||
icon: 'ph-pencil ph-bold ph-lg',
|
||||
icon: 'ph-pencil-simple ph-bold ph-lg',
|
||||
text: i18n.ts.edit,
|
||||
action: edit,
|
||||
} : undefined,
|
||||
{
|
||||
icon: 'ph-pencil-line ph-bold ph-lg',
|
||||
icon: 'ph-pencil-simple-line ph-bold ph-lg',
|
||||
text: i18n.ts.deleteAndEdit,
|
||||
danger: true,
|
||||
action: delEdit,
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'ph-trash ph-bold ph-lg',
|
||||
text: i18n.ts.delete,
|
||||
@@ -447,7 +447,7 @@ export function getNoteMenu(props: {
|
||||
text: i18n.ts.copyContent,
|
||||
action: copyContent,
|
||||
}, getCopyNoteLinkMenu(appearNote, i18n.ts.copyLink)
|
||||
, (appearNote.url || appearNote.uri) ?
|
||||
, (appearNote.url || appearNote.uri) ?
|
||||
getCopyNoteOriginLinkMenu(appearNote, 'Copy link (Origin)')
|
||||
: undefined,
|
||||
(appearNote.url || appearNote.uri) ? {
|
||||
|
||||
@@ -40,9 +40,9 @@ export async function getNoteVersionsMenu(props: {
|
||||
const _time = edit.oldDate == null ? NaN :
|
||||
typeof edit.oldDate === 'number' ? edit.oldDate :
|
||||
(edit.oldDate instanceof Date ? edit.oldDate : new Date(edit.oldDate)).getTime();
|
||||
|
||||
|
||||
menu.push({
|
||||
icon: 'ph-pencil ph-bold ph-lg',
|
||||
icon: 'ph-pencil-simple ph-bold ph-lg',
|
||||
text: _time ? dateTimeFormat.format(_time) : dateTimeFormat.format(new Date(edit.updatedAt)),
|
||||
action: () => openVersion(edit),
|
||||
});
|
||||
|
||||
@@ -192,7 +192,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
|
||||
os.post({ specified: user, initialText: `${canonical} ` });
|
||||
},
|
||||
}, { type: 'divider' }, {
|
||||
icon: 'ph-pencil ph-bold ph-lg',
|
||||
icon: 'ph-pencil-simple ph-bold ph-lg',
|
||||
text: i18n.ts.editMemo,
|
||||
action: () => {
|
||||
editMemo();
|
||||
@@ -364,7 +364,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
|
||||
|
||||
if ($i && meId === user.id) {
|
||||
menu = menu.concat([{ type: 'divider' }, {
|
||||
icon: 'ph-pencil ph-bold ph-lg',
|
||||
icon: 'ph-pencil-simple ph-bold ph-lg',
|
||||
text: i18n.ts.editProfile,
|
||||
action: () => {
|
||||
router.push('/settings/profile');
|
||||
|
||||
Reference in New Issue
Block a user