upd: fix rest of icons

This commit is contained in:
Insert5StarName 2023-10-01 00:46:42 +02:00
parent 7b179d3a92
commit b50c1ef9a5
90 changed files with 187 additions and 187 deletions

View file

@ -94,7 +94,7 @@ export async function getNoteClipMenu(props: {
export function getAbuseNoteMenu(note: misskey.entities.Note, text: string): MenuItem {
return {
icon: 'ti ti-exclamation-circle',
icon: 'ph-warning-circle ph-bold ph-lg',
text,
action: (): void => {
const u = note.url ?? note.uri ?? `${url}/notes/${note.id}`;
@ -267,7 +267,7 @@ export function getNoteMenu(props: {
menu = [
...(
props.currentClip?.userId === $i.id ? [{
icon: 'ti ti-backspace',
icon: 'ph-backspace ph-bold ph-lg',
text: i18n.ts.unclip,
danger: true,
action: unclip,
@ -294,7 +294,7 @@ export function getNoteMenu(props: {
action: share,
},
instance.translatorAvailable ? {
icon: 'ti ti-language-hiragana',
icon: 'ph-translate ph-bold ph-lg',
text: i18n.ts.translate,
action: translate,
} : undefined,
@ -315,11 +315,11 @@ export function getNoteMenu(props: {
children: () => getNoteClipMenu(props),
},
statePromise.then(state => state.isMutedThread ? {
icon: 'ti ti-message-off',
icon: 'ph-bell-slash ph-bold ph-lg',
text: i18n.ts.unmuteThread,
action: () => toggleThreadMute(false),
} : {
icon: 'ti ti-message-off',
icon: 'ph-bell-slash ph-bold ph-lg',
text: i18n.ts.muteThread,
action: () => toggleThreadMute(true),
}),
@ -403,7 +403,7 @@ export function getNoteMenu(props: {
if (noteActions.length > 0) {
menu = menu.concat([null, ...noteActions.map(action => ({
icon: 'ti ti-plug',
icon: 'ph-plug ph-bold ph-lg',
text: action.title,
action: () => {
action.handler(appearNote);

View file

@ -149,7 +149,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
router.push(`/admin/user/${user.id}`);
},
}] : []), {
icon: 'ti ti-rss',
icon: 'ph-rss ph-bold ph-lg',
text: i18n.ts.copyRSS,
action: () => {
copyToClipboard(`${user.host ?? host}/@${user.username}.atom`);
@ -311,7 +311,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
}
menu = menu.concat([null, {
icon: 'ti ti-exclamation-circle',
icon: 'ph-warning-circle ph-bold ph-lg',
text: i18n.ts.reportAbuse,
action: reportAbuse,
}]);
@ -339,7 +339,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
if (userActions.length > 0) {
menu = menu.concat([null, ...userActions.map(action => ({
icon: 'ti ti-plug',
icon: 'ph-plug ph-bold ph-lg',
text: action.title,
action: () => {
action.handler(user);