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-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/>
<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 === '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 === '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-rocket-launch ph-bold ph-lg" style="line-height: 1;"></i></div>
<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/>
<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 ? [{
text: i18n.ts.doReaction,
icon: 'ph-plus ph-bold ph-lg',
icon: 'ph-smiley ph-bold ph-lg',
action: () => {
react(`:${props.name}:`);
},

View File

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