Skip to content

Commit

Permalink
Bump version to v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft committed Sep 29, 2024
1 parent 494bc14 commit 86cc6b2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/@angor/version/angor-version.ts
Original file line number Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion src/app/components/settings/relay/relay.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</div>
<div class="ml-4">
<div class="font-medium">{{ relay.url }}</div>
<div class="text-sm text-gray-500">Status: {{ getRelayStatus(relay) }}</div>
<div class="text-sm" [ngClass]="getRelayStatusClass(relay)">Status: {{ getRelayStatus(relay) }}</div>
</div>
</div>
<div class="mt-4 flex items-center sm:ml-auto sm:mt-0">
Expand Down
4 changes: 4 additions & 0 deletions src/app/components/settings/relay/relay.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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://');

Expand Down

0 comments on commit 86cc6b2

Please sign in to comment.