mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-30 08:51:24 +00:00
fix notification icons
This commit is contained in:
parent
92817203fc
commit
509cbb07fe
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ export default function Notification(props: Props) {
|
||||||
let icon;
|
let icon;
|
||||||
switch (notification_rule) {
|
switch (notification_rule) {
|
||||||
case NOTIFICATIONS.NOTIFICATION_CREATOR_SUBSCRIBER:
|
case NOTIFICATIONS.NOTIFICATION_CREATOR_SUBSCRIBER:
|
||||||
icon = <Icon icon={ICONS.SUBSCRIBE} sectionIcon className="notification__icon" />;
|
icon = <Icon icon={ICONS.SUBSCRIBE} sectionIcon />;
|
||||||
break;
|
break;
|
||||||
case NOTIFICATIONS.NOTIFICATION_COMMENT:
|
case NOTIFICATIONS.NOTIFICATION_COMMENT:
|
||||||
icon = <ChannelThumbnail small uri={notification_parameters.dynamic.comment_author} />;
|
icon = <ChannelThumbnail small uri={notification_parameters.dynamic.comment_author} />;
|
||||||
|
@ -79,7 +79,7 @@ export default function Notification(props: Props) {
|
||||||
icon = <Icon icon={ICONS.LBC} sectionIcon />;
|
icon = <Icon icon={ICONS.LBC} sectionIcon />;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
icon = <Icon icon={ICONS.NOTIFICATION} sectionIcon className="notification__icon" />;
|
icon = <Icon icon={ICONS.NOTIFICATION} sectionIcon />;
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleNotificationClick() {
|
function handleNotificationClick() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue