fix(icons): remove remaining electrs icon references, use electrumx.png
GoalDetail.vue, EasyHome.vue, and the backend's docker_packages.rs metadata still pointed electrs-family app ids at the old electrs icon (svg). Point them at electrumx.png like every other reference, and delete the now-unused electrs.svg asset.
This commit is contained in:
parent
ed95d54ffe
commit
4c3aa8cc8e
@ -396,7 +396,7 @@ fn get_app_metadata(app_id: &str) -> AppMetadata {
|
|||||||
"electrumx" | "mempool-electrs" | "electrs" => AppMetadata {
|
"electrumx" | "mempool-electrs" | "electrs" => AppMetadata {
|
||||||
title: "ElectrumX".to_string(),
|
title: "ElectrumX".to_string(),
|
||||||
description: "ElectrumX server — full Electrum protocol indexer for Bitcoin. Powers Mempool and Electrum wallets.".to_string(),
|
description: "ElectrumX server — full Electrum protocol indexer for Bitcoin. Powers Mempool and Electrum wallets.".to_string(),
|
||||||
icon: "/assets/img/app-icons/electrs.svg".to_string(),
|
icon: "/assets/img/app-icons/electrumx.png".to_string(),
|
||||||
repo: "https://github.com/spesmilo/electrumx".to_string(),
|
repo: "https://github.com/spesmilo/electrumx".to_string(),
|
||||||
tier: "",
|
tier: "",
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 12 KiB |
@ -72,7 +72,8 @@ const APP_ICON_MAP: Record<string, string> = {
|
|||||||
nextcloud: '/assets/img/app-icons/nextcloud.webp',
|
nextcloud: '/assets/img/app-icons/nextcloud.webp',
|
||||||
fedimint: '/assets/img/app-icons/fedimint.png',
|
fedimint: '/assets/img/app-icons/fedimint.png',
|
||||||
mempool: '/assets/img/app-icons/mempool.webp',
|
mempool: '/assets/img/app-icons/mempool.webp',
|
||||||
electrs: '/assets/img/app-icons/electrs.svg',
|
electrs: '/assets/img/app-icons/electrumx.png',
|
||||||
|
electrumx: '/assets/img/app-icons/electrumx.png',
|
||||||
}
|
}
|
||||||
|
|
||||||
function goalAppIcons(goal: GoalDefinition): { appId: string; url: string }[] {
|
function goalAppIcons(goal: GoalDefinition): { appId: string; url: string }[] {
|
||||||
|
|||||||
@ -180,7 +180,8 @@ const APP_ICON_MAP: Record<string, string> = {
|
|||||||
nextcloud: '/assets/img/app-icons/nextcloud.webp',
|
nextcloud: '/assets/img/app-icons/nextcloud.webp',
|
||||||
fedimint: '/assets/img/app-icons/fedimint.png',
|
fedimint: '/assets/img/app-icons/fedimint.png',
|
||||||
mempool: '/assets/img/app-icons/mempool.webp',
|
mempool: '/assets/img/app-icons/mempool.webp',
|
||||||
electrs: '/assets/img/app-icons/electrs.svg',
|
electrs: '/assets/img/app-icons/electrumx.png',
|
||||||
|
electrumx: '/assets/img/app-icons/electrumx.png',
|
||||||
}
|
}
|
||||||
|
|
||||||
function stepIconUrl(step: GoalStep): string | undefined {
|
function stepIconUrl(step: GoalStep): string | undefined {
|
||||||
|
|||||||
@ -240,12 +240,9 @@ const APP_ICON_FALLBACKS: Record<string, string> = {
|
|||||||
'archy-lnd-ui': '/assets/img/app-icons/lnd.png',
|
'archy-lnd-ui': '/assets/img/app-icons/lnd.png',
|
||||||
'archy-electrs-ui': '/assets/img/app-icons/electrumx.png',
|
'archy-electrs-ui': '/assets/img/app-icons/electrumx.png',
|
||||||
// ElectrumX ships under a few historical ids (the backend was renamed
|
// ElectrumX ships under a few historical ids (the backend was renamed
|
||||||
// electrs → electrumx). Without an explicit map, an `electrs`-keyed install
|
// electrs → electrumx). Pin the whole family to the ElectrumX icon so My
|
||||||
// falls through to the default `/assets/img/app-icons/electrs.png`, which
|
// Apps shows the right logo no matter which id the node has it installed
|
||||||
// doesn't exist → handleImageError swaps .png→.svg and lands on electrs.svg
|
// under.
|
||||||
// (the "Electrs in Rust" logo) instead of the real ElectrumX icon. Pin the
|
|
||||||
// whole family to the ElectrumX icon so My Apps shows the right logo no
|
|
||||||
// matter which id the node has it installed under.
|
|
||||||
'electrs': '/assets/img/app-icons/electrumx.png',
|
'electrs': '/assets/img/app-icons/electrumx.png',
|
||||||
'electrs-ui': '/assets/img/app-icons/electrumx.png',
|
'electrs-ui': '/assets/img/app-icons/electrumx.png',
|
||||||
'electrumx': '/assets/img/app-icons/electrumx.png',
|
'electrumx': '/assets/img/app-icons/electrumx.png',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user