diff --git a/package.json b/package.json index 61666fcb..a37739b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angor-browse", - "version": "0.0.3", + "version": "0.0.4", "description": "Angor Hub is a Nostr client that is customized around the Angor protocol, a decentralized crowdfunding platform.", "author": "angor", "private": true, diff --git a/src/@angor/version/angor-version.ts b/src/@angor/version/angor-version.ts index b894c9d3..2ee0f6e0 100644 --- a/src/@angor/version/angor-version.ts +++ b/src/@angor/version/angor-version.ts @@ -1,3 +1,3 @@ import { Version } from '@angor/version/version'; -export const ANGOR_VERSION = new Version('0.0.3').full; +export const ANGOR_VERSION = new Version('0.0.4').full; diff --git a/src/app/components/settings/relay/relay.component.html b/src/app/components/settings/relay/relay.component.html index 2df70887..54f98c13 100644 --- a/src/app/components/settings/relay/relay.component.html +++ b/src/app/components/settings/relay/relay.component.html @@ -27,7 +27,7 @@
{{ relay.url }}
-
Status: {{ getRelayStatus(relay) }}
+
Status: {{ getRelayStatus(relay) }}
diff --git a/src/app/components/settings/relay/relay.component.ts b/src/app/components/settings/relay/relay.component.ts index 6adae8c4..45acc34c 100644 --- a/src/app/components/settings/relay/relay.component.ts +++ b/src/app/components/settings/relay/relay.component.ts @@ -108,6 +108,10 @@ export class SettingsRelayComponent implements OnInit { return relay.connected ? 'Connected' : 'Disconnected'; } + getRelayStatusClass(relay: any): string { + return relay.connected ? 'text-green-700' : 'text-red-700'; + } + relayFavIcon(url: string): string { let safeUrl = url.replace('wss://', 'https://').replace('ws://', 'https://');