chore: correct the icons being used

This commit is contained in:
Mar0xy 2023-11-06 00:33:44 +01:00
parent 53868f0176
commit d8a9d72dbb
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
3 changed files with 4 additions and 4 deletions

View file

@ -9,8 +9,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkAvatar v-if="notification.type === 'pollEnded'" :class="$style.icon" :user="notification.note.user" link preview/> <MkAvatar v-if="notification.type === 'pollEnded'" :class="$style.icon" :user="notification.note.user" link preview/>
<MkAvatar v-else-if="notification.type === 'note'" :class="$style.icon" :user="notification.note.user" link preview/> <MkAvatar v-else-if="notification.type === 'note'" :class="$style.icon" :user="notification.note.user" link preview/>
<MkAvatar v-else-if="notification.type === 'achievementEarned'" :class="$style.icon" :user="$i" link preview/> <MkAvatar v-else-if="notification.type === 'achievementEarned'" :class="$style.icon" :user="$i" link preview/>
<div v-else-if="notification.type === 'reaction:grouped'" :class="[$style.icon, $style.icon_reactionGroup]"><i class="ph-plus ph-bold ph-lg" style="line-height: 1;"></i></div> <div v-else-if="notification.type === 'reaction:grouped'" :class="[$style.icon, $style.icon_reactionGroup]"><i class="ph-smiley ph-bold ph-lg" style="line-height: 1;"></i></div>
<div v-else-if="notification.type === 'renote:grouped'" :class="[$style.icon, $style.icon_renoteGroup]"><i class="ph-repeat ph-bold ph-lg" style="line-height: 1;"></i></div> <div v-else-if="notification.type === 'renote:grouped'" :class="[$style.icon, $style.icon_renoteGroup]"><i class="ph-rocket-launch ph-bold ph-lg" style="line-height: 1;"></i></div>
<img v-else-if="notification.type === 'test'" :class="$style.icon" :src="infoImageUrl"/> <img v-else-if="notification.type === 'test'" :class="$style.icon" :src="infoImageUrl"/>
<MkAvatar v-else-if="notification.user" :class="$style.icon" :user="notification.user" link preview/> <MkAvatar v-else-if="notification.user" :class="$style.icon" :user="notification.user" link preview/>
<img v-else-if="notification.icon" :class="[$style.icon, $style.icon_app]" :src="notification.icon" alt=""/> <img v-else-if="notification.icon" :class="[$style.icon, $style.icon_app]" :src="notification.icon" alt=""/>

View file

@ -87,7 +87,7 @@ function onClick(ev: MouseEvent) {
}, },
}, ...(props.menuReaction && react ? [{ }, ...(props.menuReaction && react ? [{
text: i18n.ts.doReaction, text: i18n.ts.doReaction,
icon: 'ph-plus ph-bold ph-lg', icon: 'ph-smiley ph-bold ph-lg',
action: () => { action: () => {
react(`:${props.name}:`); react(`:${props.name}:`);
}, },

View file

@ -53,7 +53,7 @@ function onClick(ev: MouseEvent) {
}, },
}, ...(props.menuReaction && react ? [{ }, ...(props.menuReaction && react ? [{
text: i18n.ts.doReaction, text: i18n.ts.doReaction,
icon: 'ph-plus ph-bold ph-lg', icon: 'ph-smiley ph-bold ph-lg',
action: () => { action: () => {
react(props.emoji); react(props.emoji);
}, },