diff --git a/src/views/relays/cache/index.tsx b/src/views/relays/cache/index.tsx index 26b0d4687..e01a337b4 100644 --- a/src/views/relays/cache/index.tsx +++ b/src/views/relays/cache/index.tsx @@ -129,11 +129,53 @@ function NostrRelayTray() { )} - + A cool little app that runs a local relay in your systems tray Maximum capacity: Unlimited Performance: As fast as your computer - + + + ); +} + +function CitrineRelay() { + const { value: available, loading: checking } = useAsync(checkNostrRelayTray); + + const enabled = localRelay?.url.startsWith(NOSTR_RELAY_TRAY_URL); + const enable = () => { + localStorage.setItem("localRelay", NOSTR_RELAY_TRAY_URL); + location.reload(); + }; + + return ( + + + Citrine + + GitHub + + {available ? ( + + ) : ( + + )} + + + A cool little app that runs a local relay in your phone + Maximum capacity: Unlimited + Performance: As fast as your phone + ); } @@ -260,7 +302,13 @@ export default function CacheRelayView() { {WasmRelay.SUPPORTED && } - + { + navigator.userAgent.includes("Android") ? ( + + ) : ( + + ) + } {window.satellite && } {window.CACHE_RELAY_ENABLED && }