Skip to content

Commit

Permalink
kind 397, and green text so visible in dark mode as well #41
Browse files Browse the repository at this point in the history
  • Loading branch information
K committed Oct 16, 2024
1 parent 12ab44d commit b7fa95c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nr-app/app/(tabs)/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function TabTwoScreen() {

const relay = new Relay("wss://nos.lol");
await relay.connect();
const sub = relay.subscribe([{ kinds: [0], limit: 10 }], {
const sub = relay.subscribe([{ kinds: [397], limit: 10 }], {
onevent: (event) =>
void dispatch(
addEvent({
Expand All @@ -71,8 +71,8 @@ export default function TabTwoScreen() {
<Text>We have a total of {events.length} events.</Text>
{events.map((event) => (
<View key={event.event.id}>
<Text>{event.event.id}</Text>
<Text>{JSON.stringify(event)}</Text>
<Text style={{ color: "#008800" }}>{event.event.id}</Text>
<Text style={{ color: "#008800" }}>{JSON.stringify(event)}</Text>
</View>
))}
</View>
Expand Down

0 comments on commit b7fa95c

Please sign in to comment.